public static class SVM.Kernel extends Algorithm
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Kernel(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
calc(int vcount,
int n,
float[] vecs,
float[] another,
float[] results) |
void |
calc(int vcount,
int n,
FloatBuffer vecs,
FloatBuffer another,
FloatBuffer results) |
void |
calc(int vcount,
int n,
FloatPointer vecs,
FloatPointer another,
FloatPointer results) |
int |
getType() |
clear, empty, getDefaultName, position, read, save, save, write, write, write
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 Kernel(Pointer p)
Pointer.Pointer(Pointer)
.public int getType()
public void calc(int vcount, int n, @Const FloatPointer vecs, @Const FloatPointer another, FloatPointer results)
public void calc(int vcount, int n, @Const FloatBuffer vecs, @Const FloatBuffer another, FloatBuffer results)
Copyright © 2020. All rights reserved.