/** * Create a scalar ndarray with the specified offset * * @param value the value to initialize the scalar with * @param offset the offset of the ndarray * @return the created ndarray */ public static INDArray scalar(Number value, long offset) { return INSTANCE.scalar(value, offset); }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @param offset the offset of the ndarray * @return the scalar nd array */ public static INDArray scalar(float value, long offset) { INDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar ndarray with the specified offset * * @param value the value to initialize the scalar with * @return the created ndarray */ public static IComplexNDArray scalar(IComplexNumber value) { IComplexNDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @param offset the offset of the ndarray * @return the scalar nd array */ public static INDArray scalar(double value, long offset) { INDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar ndarray with the specified offset * * @param value the value to initialize the scalar with * @return the created ndarray */ public static INDArray scalar(Number value) { INDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * = * @return the scalar nd array */ public static IComplexNDArray scalar(IComplexDouble value) { IComplexNDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @param offset the offset of the ndarray * @return the scalar nd array */ public static IComplexNDArray scalar(IComplexFloat value, long offset) { IComplexNDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * = * @return the scalar nd array */ public static INDArray scalar(double value) { INDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * = * @return the scalar nd array */ public static INDArray scalar(float value) { INDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @param offset the offset of the ndarray * @return the scalar nd array */ public static IComplexNDArray scalar(IComplexDouble value, long offset) { IComplexNDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @return the scalar nd array */ public static IComplexNDArray scalar(IComplexFloat value) { IComplexNDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar ndarray with the specified offset * * @param value the value to initialize the scalar with * @param offset the offset of the ndarray * @return the created ndarray */ public static IComplexNDArray scalar(IComplexNumber value, long offset) { IComplexNDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar ndarray with the specified offset * * @param value the value to initialize the scalar with * @param offset the offset of the ndarray * @return the created ndarray */ public static INDArray scalar(Number value, long offset) { return INSTANCE.scalar(value, offset); }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @param offset the offset of the ndarray * @return the scalar nd array */ public static INDArray scalar(double value, long offset) { INDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * = * @return the scalar nd array */ public static IComplexNDArray scalar(IComplexDouble value) { IComplexNDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @param offset the offset of the ndarray * @return the scalar nd array */ public static IComplexNDArray scalar(IComplexDouble value, long offset) { IComplexNDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar ndarray with the specified offset * * @param value the value to initialize the scalar with * @return the created ndarray */ public static INDArray scalar(Number value) { INDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * = * @return the scalar nd array */ public static INDArray scalar(float value) { INDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar ndarray with the specified offset * * @param value the value to initialize the scalar with * @return the created ndarray */ public static IComplexNDArray scalar(IComplexNumber value) { IComplexNDArray ret = INSTANCE.scalar(value); logCreationIfNecessary(ret); return ret; }
/** * Create a scalar nd array with the specified value and offset * * @param value the value of the scalar * @param offset the offset of the ndarray * @return the scalar nd array */ public static IComplexNDArray scalar(IComplexFloat value, long offset) { IComplexNDArray ret = INSTANCE.scalar(value, offset); logCreationIfNecessary(ret); return ret; }