Auki::Ceres::Ceres
Public Functions
Name | |
---|---|
delegate int | CostFunction(IntPtr userData, IntPtr parameters, IntPtr residuals, IntPtr jacobians) |
delegate void | LossFunction(IntPtr userData, IntPtr squaredNorm, IntPtr output) |
void | ceres_init() |
IntPtr | ceres_create_huber_loss_function_data(double a) |
void | ceres_free_stock_loss_function_data(IntPtr lossFunctionData) |
void | ceres_stock_loss_function(IntPtr userData, double squaredNorm, double[] output) |
IntPtr | ceres_create_problem() |
void | ceres_free_problem(IntPtr problem) |
IntPtr | ceres_problem_add_residual_block(IntPtr problem, CostFunction costFunction, IntPtr costFunctionData, LossFunction lossFunction, IntPtr lossFunctionData, int numResiduals, int numParameterBlocks, int[] parameterBlockSizes, IntPtr parameters) |
void | ceres_solve(IntPtr problem) |
Public Functions Documentation
function CostFunction
delegate int CostFunction(
IntPtr userData,
IntPtr parameters,
IntPtr residuals,
IntPtr jacobians
)
function LossFunction
delegate void LossFunction(
IntPtr userData,
IntPtr squaredNorm,
IntPtr output
)
function ceres_init
static void ceres_init()
function ceres_create_huber_loss_function_data
static IntPtr ceres_create_huber_loss_function_data(
double a
)
function ceres_free_stock_loss_function_data
static void ceres_free_stock_loss_function_data(
IntPtr lossFunctionData
)
function ceres_stock_loss_function
static void ceres_stock_loss_function(
IntPtr userData,
double squaredNorm,
double[] output
)
function ceres_create_problem
static IntPtr ceres_create_problem()
function ceres_free_problem
static void ceres_free_problem(
IntPtr problem
)
function ceres_problem_add_residual_block
static IntPtr ceres_problem_add_residual_block(
IntPtr problem,
CostFunction costFunction,
IntPtr costFunctionData,
LossFunction lossFunction,
IntPtr lossFunctionData,
int numResiduals,
int numParameterBlocks,
int[] parameterBlockSizes,
IntPtr parameters
)
function ceres_solve
static void ceres_solve(
IntPtr problem
)