NFloatPtr¶
-
public interface
NFloatPtr
extends Ptr<Double>, ConstNFloatPtr¶ Native sized Float pointer interface.
Methods¶
copyFrom¶
-
public void
copyFrom
(double[] src)¶ Copies elements from the specified array to this pointer. The number of elements copied is equal to the size of the source array. This call is equivalent to
copyFrom(src, 0, 0, src.length)
.When the pointer is not guarded, accessing elements out of range could result in a program crash!
Parameters: - src – non-null array to copy from
copyFrom¶
-
public void
copyFrom
(double[] src, int destOffset)¶ Copies elements from the specified array to this pointer. The offset of the first value to be replaced is specified with the
destOffset
argument. The number of elements copied is equal to the size of the source array. This call is equivalent tocopyFrom(src, 0, destOffset, src.length)
.When the pointer is not guarded, accessing elements out of range could result in a program crash!
Parameters: - src – non-null array to copy from
- destOffset – index of the first value to replace in this pointer
copyFrom¶
-
public void
copyFrom
(double[] src, int destOffset, int length)¶ Copies elements from the specified array from the specified index to this pointer. The offset of the first value to be replaced is specified with the
destOffset
argument. The number of elements copied is equal to the size of the source array. This call is equivalent tocopyFrom(src, srcOffset, destOffset, src.length)
.When the pointer is not guarded, accessing elements out of range could result in a program crash!
Parameters: - src – non-null array to copy from
- destOffset – index of the first value to replace in this pointer
- length – number of elements to copy
copyFrom¶
-
public void
copyFrom
(double[] src, int srcOffset, int destOffset, int length)¶ Copies elements from the specified array from the specified index to this pointer. The offset of the first value to be replaced is specified with the
destOffset
argument.When the pointer is not guarded, accessing elements out of range could result in a program crash!
Parameters: - src – non-null array to copy from
- srcOffset – index of the first value to copy to this pointer
- destOffset – index of the first value to replace in this pointer
- length – number of elements to copy