public static class MinProblemSolver.Function extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Function()
Default native constructor.
|
Function(long size)
Native array allocator.
|
Function(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
calc(DoublePointer x) |
int |
getDims() |
void |
getGradient(DoublePointer x,
DoublePointer grad) |
double |
getGradientEps() |
MinProblemSolver.Function |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Function()
public Function(long size)
Pointer.position(long)
.public Function(Pointer p)
Pointer.Pointer(Pointer)
.public MinProblemSolver.Function position(long position)
@Virtual(value=true) @Const(value={false,false,true}) public double calc(@Const DoublePointer x)
@Virtual public void getGradient(@Const DoublePointer x, DoublePointer grad)
Copyright © 2020. All rights reserved.