Package gov.nih.mipav.model.algorithms
Class CeresSolverTest
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver
-
- gov.nih.mipav.model.algorithms.CeresSolverTest
-
public class CeresSolverTest extends CeresSolver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.model.algorithms.CeresSolver
CeresSolver.ArctanLoss, CeresSolver.ArmijoLineSearch, CeresSolver.AutoDiffCostFunction<CostFunctor>, CeresSolver.BadTestTerm, CeresSolver.BFGS, CeresSolver.Block, CeresSolver.BlockEvaluatePreparer, CeresSolver.BlockJacobianWriter, CeresSolver.BlockJacobiPreconditioner, CeresSolver.BlockRandomAccessDenseMatrix, CeresSolver.BlockRandomAccessDiagonalMatrix, CeresSolver.BlockRandomAccessMatrix, CeresSolver.BlockSparseMatrix, CeresSolver.BlockSparseMatrixRandomMatrixOptions, CeresSolver.CallbackReturnType, CeresSolver.CallStatistics, CeresSolver.CauchyLoss, CeresSolver.Cell, CeresSolver.CellInfo, CeresSolver.CellLessThan, CeresSolver.CgnrLinearOperator, CeresSolver.CgnrSolver, CeresSolver.Chunk, CeresSolver.ComposedLoss, CeresSolver.CompressedList, CeresSolver.CompressedRowBlockStructure, CeresSolver.CompressedRowJacobianWriter, CeresSolver.CompressedRowSparseMatrix, CeresSolver.ConjugateGradientsSolver, CeresSolver.Context, CeresSolver.CoordinateDescentMinimizer, CeresSolver.Corrector, CeresSolver.CostFunction, CeresSolver.CostFunctorExample, CeresSolver.CovarianceAlgorithmType, CeresSolver.CRSMatrix, CeresSolver.CurveFittingFunctorExample, CeresSolver.DenseJacobianWriter, CeresSolver.DenseLinearAlgebraLibraryType, CeresSolver.DenseNormalCholeskySolver, CeresSolver.DenseQRSolver, CeresSolver.DenseSchurComplementSolver, CeresSolver.DenseSparseMatrix, CeresSolver.DoglegStrategy, CeresSolver.DoglegType, CeresSolver.DumpFormatType, CeresSolver.DynamicCompressedRowJacobianFinalizer, CeresSolver.DynamicCompressedRowJacobianWriter, CeresSolver.DynamicCostFunction, CeresSolver.DynamicNumericDiffCostFunction<T>, CeresSolver.EasyCostFunction, CeresSolver.EasyFunctor, CeresSolver.EigenQuaternionParameterization, CeresSolver.EvaluateOptions, CeresSolver.EvaluateScratch, CeresSolver.EvaluationCallback, CeresSolver.Evaluator, CeresSolver.EvaluatorOptions, CeresSolver.EventLogger, CeresSolver.ExecutionSummary, CeresSolver.ExponentialCostFunction, CeresSolver.ExponentialFunctor, CeresSolver.FirstOrderFunction, CeresSolver.FunctionSample, CeresSolver.GoodTestTerm, CeresSolver.GradientChecker, CeresSolver.GradientCheckingCostFunction, CeresSolver.GradientCheckingIterationCallback, CeresSolver.GradientProblem, CeresSolver.GradientProblemEvaluator, CeresSolver.GradientProblemSolver, CeresSolver.GradientProblemSolverOptions, CeresSolver.GradientProblemSolverStateUpdatingCallback, CeresSolver.GradientProblemSolverSummary, CeresSolver.Graph<Vertex>, CeresSolver.HomogeneousVectorParameterization, CeresSolver.HuberLoss, CeresSolver.IdentityParameterization, CeresSolver.ImplicitSchurComplement, CeresSolver.indexValueItem<Vertex>, CeresSolver.IterationCallback, CeresSolver.IterationSummary, CeresSolver.IterativeSchurComplementSolver, CeresSolver.LBFGS, CeresSolver.LevenbergMarquardtStrategy, CeresSolver.LinearCostFunction, CeresSolver.LinearLeastSquaresProblem, CeresSolver.LinearOperator, CeresSolver.LinearSolver, CeresSolver.LinearSolverOptions, CeresSolver.LinearSolverPerSolveOptions, CeresSolver.LinearSolverSummary, CeresSolver.LinearSolverTerminationType, CeresSolver.LinearSolverType, CeresSolver.LineSearch, CeresSolver.LineSearchDirection, CeresSolver.LineSearchDirectionOptions, CeresSolver.LineSearchDirectionType, CeresSolver.LineSearchFunction, CeresSolver.LineSearchInterpolationType, CeresSolver.LineSearchMinimizer, CeresSolver.LineSearchOptions, CeresSolver.LineSearchPreprocessor, CeresSolver.LineSearchSummary, CeresSolver.LineSearchType, CeresSolver.LocalParameterization, CeresSolver.LoggingCallback, CeresSolver.LoggingType, CeresSolver.LossFunction, CeresSolver.LossFunctionWrapper, CeresSolver.LowRankInverseHessian, CeresSolver.Minimizer, CeresSolver.MinimizerOptions, CeresSolver.MinimizerType, CeresSolver.MyCostFunctor, CeresSolver.MyThreeParameterCostFunctor, CeresSolver.NonlinearConjugateGradient, CeresSolver.NonlinearConjugateGradientType, CeresSolver.NormalPrior, CeresSolver.NullJacobianFinalizer, CeresSolver.NumericDiffCostFunction<CostFunctor>, CeresSolver.NumericDiffMethodType, CeresSolver.NumericDiffOptions, CeresSolver.OnlyFillsOneOutputFunctor, CeresSolver.OrderedGroups<T>, CeresSolver.Ownership, CeresSolver.Pair<T,U>, CeresSolver.ParameterBlock, CeresSolver.PartitionedMatrixView, CeresSolver.Preconditioner, CeresSolver.PreconditionerOptions, CeresSolver.PreconditionerType, CeresSolver.PreprocessedProblem, CeresSolver.Preprocessor, CeresSolver.ProbeResults, CeresSolver.ProblemImpl, CeresSolver.ProblemOptions, CeresSolver.ProductParameterization, CeresSolver.Program, CeresSolver.ProgramEvaluator<EvaluatePreparer,JacobianWriter,JacobianFinalizer>, CeresSolver.QuaternionParameterization, CeresSolver.RandomizedCostFunction, CeresSolver.RandomizedFunctor, CeresSolver.ResidualBlock, CeresSolver.ScaledLoss, CeresSolver.SchurComplementSolver, CeresSolver.SchurEliminator, CeresSolver.SchurEliminatorBase, CeresSolver.SchurJacobiPreconditioner, CeresSolver.ScopedExecutionTimer, CeresSolver.ScratchEvaluatePreparer, CeresSolver.SizedCostFunction, CeresSolver.SizeTestingCostFunction, CeresSolver.SoftLOneLoss, CeresSolver.Solver, CeresSolver.SolverOptions, CeresSolver.SolverSummary, CeresSolver.SparseLinearAlgebraLibraryType, CeresSolver.SparseMatrix, CeresSolver.SparseMatrixPreconditionerWrapper, CeresSolver.StateUpdatingCallback, CeresSolver.SteepestDescent, CeresSolver.SubsetParameterization, CeresSolver.TerminationType, CeresSolver.TestTerm, CeresSolver.TolerantLoss, CeresSolver.TranscendentalCostFunction, CeresSolver.TranscendentalFunctor, CeresSolver.TripletSparseMatrix, CeresSolver.TripletSparseMatrixRandomMatrixOptions, CeresSolver.TrivialLoss, CeresSolver.TrustRegionMinimizer, CeresSolver.TrustRegionPreprocessor, CeresSolver.TrustRegionStepEvaluator, CeresSolver.TrustRegionStrategy, CeresSolver.TrustRegionStrategyOptions, CeresSolver.TrustRegionStrategyPerSolveOptions, CeresSolver.TrustRegionStrategySummary, CeresSolver.TrustRegionStrategyType, CeresSolver.TukeyLoss, CeresSolver.TypedLinearSolver<MatrixType>, CeresSolver.TypedPreconditioner<MatrixType>, CeresSolver.VertexDegreeLessThan<Vertex>, CeresSolver.VertexTotalOrdering<Vertex>, CeresSolver.VisibilityClusteringType, CeresSolver.WeightedGraph<Vertex>, CeresSolver.WolfeLineSearch
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Vector<CeresSolver.Pair<double[],double[]>>
all_covariance_blocks_
(package private) CeresSolver2
ce2
(package private) java.util.Vector<java.lang.Integer>
centers_
(package private) java.util.HashMap<double[],CeresSolver.Pair<java.lang.Integer,java.lang.Integer>>
column_bounds_
(package private) CeresSolver.CompressedRowSparseMatrix
crsm
(package private) boolean
dcrmPassed
(package private) CeresSolver2.DynamicCompressedRowSparseMatrix
dcrsm
(package private) Jama.Matrix
dense
(package private) int
expected_num_nonzeros
(package private) CeresSolver.WeightedGraph<java.lang.Integer>
graph_
(package private) double
kEpsilon
(package private) double
kEpsilonLoose
(package private) double
kNoiseFactor
(package private) static int
kNumTrials
(package private) long
kRandomSeed
(package private) double
kTolerance
(package private) long
kUninitialized
(package private) int[]
kVertexIds
(package private) java.util.HashMap<double[],CeresSolver.Pair<java.lang.Integer,java.lang.Integer>>
local_column_bounds_
(package private) java.util.HashMap<java.lang.Integer,java.lang.Integer>
membership_
(package private) int
num_additional_elements
(package private) int
num_cols
(package private) int
num_rows
(package private) CeresSolver2.CanonicalViewsClusteringOptions
options_
(package private) double[]
parameters_
(package private) CeresSolver.ProblemImpl
problem_
(package private) CeresSolver.TripletSparseMatrix
tsm
(package private) double[]
x
(package private) double[]
y
(package private) double[]
z
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver
BAD_TEST_TERM_EXAMPLE, COST_FUNCTOR_EXAMPLE, CURVE_FITTING_EXAMPLE, curveFittingData, curveFittingObservations, default_relstep, DYNAMIC, EASY_COST_FUNCTION, EASY_FUNCTOR_EXAMPLE, epsilon, ERROR, EXPONENTIAL_COST_FUNCTION, EXPONENTIAL_FUNCTOR, FATAL, GOOD_TEST_TERM_EXAMPLE, INFO, LINEAR_COST_FUNCTION_EXAMPLE, m, MAX_LOG_LEVEL, MY_COST_FUNCTOR, MY_THREE_PARAMETER_COST_FUNCTOR, N0, ONLY_FILLS_ONE_OUTPUT_FUNCTOR, optionsValid, RANDOMIZED_COST_FUNCTION, RANDOMIZED_FUNCTOR, SIZE_TESTING_COST_FUNCTION, svd, TEST_TERM_EXAMPLE, testCase, testMode, TRANSCENDENTAL_COST_FUNCTION, TRANSCENDENTAL_FUNCTOR, WARNING
-
-
Constructor Summary
Constructors Constructor Description CeresSolverTest()
-
Method Summary
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver
AppendArrayToString, ApplyOrdering, BuildResidualLayout, ComputeHouseholderVector, ComputeRecursiveIndependentSetOrdering, ComputeSchurOrdering, ComputeStableSchurOrdering, copyFunctionSample, Create, Create, Create, Create, Create, Create, Create, CreateDiagonalMatrix, CreateEvaluatorScratch, CreateGradientCheckingCostFunction, CreateGradientCheckingProblemImpl, CreateHessianGraph, CreateLinearLeastSquaresProblemFromId, CreateOrdering, createPartitionedMatrixView, CreatePreprocessor, CreateRandomMatrix, CreateRandomMatrix, createSchurEliminatorBase, CreateSparseDiagonalMatrix, DetectStructure, DifferentiatePolynomial, DumpLinearLeastSquaresProblem, DumpLinearLeastSquaresProblemToConsole, DumpLinearLeastSquaresProblemToTextFile, EigenQuaternionProduct, EvaluateCostFunction, EvaluateJacobianColumn, EvaluateJacobianForParameterBlock, EvaluateJacobianForParameterBlock, EvaluatePolynomial, EvaluateRiddersJacobianColumn, ExpectClose, FindInterpolatingPolynomial, FindInvalidValue, FindLinearPolynomialRoots, FindPolynomialRoots, FindQuadraticPolynomialRoots, FindWithDefault, FindWithDefault, GetBestSchurTemplateSpecialization, GradientProblemSolverOptionsToSolverOptions, IndependentSetOrdering, InvalidateArray, InvalidateArray, InvalidateArray, InvalidateArray, InvertPSDMatrix, IsArrayValid, IsArrayValid, IsArrayValid, IsArrayValid, IsClose, IsOrderingValid, IsSchurType, IsSolutionUsable, IsSolutionUsable, LexicographicallyOrderResidualBlocks, LinearLeastSquaresProblem0, LinearLeastSquaresProblem1, LinearLeastSquaresProblem2, LinearLeastSquaresProblem3, LinearLeastSquaresProblem4, LinearSolverForZeroEBlocks, LinearSolverTypeToString, LineSearchDirectionTypeToString, LineSearchInterpolationTypeToString, LineSearchTypeToString, MatrixMatrixMultiply, MatrixMatrixMultiply, MatrixMatrixMultiply, MatrixMatrixMultiply, MatrixTransposeMatrixMultiply, MatrixTransposeVectorMultiply, MatrixVectorMultiply, MaybeReorderSchurComplementColumnsUsingEigen, MaybeReorderSchurComplementColumnsUsingSuiteSparse, Minimize, MinimizeInterpolatingPolynomial, MinimizePolynomial, MinParameterBlock, NonlinearConjugateGradientTypeToString, operator, PostSolveSummarize, PreconditionerForZeroEBlocks, PreconditionerTypeToString, QuaternionProduct, RandDouble, RandDouble, RandNormal, RemoveLeadingZeros, ReorderProgramForSchurTypeLinearSolver, RunCallbacks, SchurStructureToString, SetSummaryFinalCost, SetSummaryFinalCost, SetupCommonMinimizerOptions, Solve, Solve, StableIndependentSetOrdering, SummarizeReducedProgram, swap, TerminationTypeToString, TransposeForCompressedRowSparseStructure, Uniform, WriteArrayToFileOrDie, WriteStringToFileOrDie
-
-
-
-
Field Detail
-
ce2
CeresSolver2 ce2
-
kEpsilon
final double kEpsilon
- See Also:
- Constant Field Values
-
kEpsilonLoose
final double kEpsilonLoose
- See Also:
- Constant Field Values
-
kNumTrials
static final int kNumTrials
- See Also:
- Constant Field Values
-
kUninitialized
final long kUninitialized
- See Also:
- Constant Field Values
-
kNoiseFactor
final double kNoiseFactor
- See Also:
- Constant Field Values
-
kRandomSeed
final long kRandomSeed
- See Also:
- Constant Field Values
-
kTolerance
final double kTolerance
- See Also:
- Constant Field Values
-
kVertexIds
final int[] kVertexIds
-
graph_
CeresSolver.WeightedGraph<java.lang.Integer> graph_
-
options_
CeresSolver2.CanonicalViewsClusteringOptions options_
-
centers_
java.util.Vector<java.lang.Integer> centers_
-
membership_
java.util.HashMap<java.lang.Integer,java.lang.Integer> membership_
-
tsm
CeresSolver.TripletSparseMatrix tsm
-
crsm
CeresSolver.CompressedRowSparseMatrix crsm
-
num_rows
int num_rows
-
num_cols
int num_cols
-
num_additional_elements
int num_additional_elements
-
expected_num_nonzeros
int expected_num_nonzeros
-
dense
Jama.Matrix dense
-
dcrsm
CeresSolver2.DynamicCompressedRowSparseMatrix dcrsm
-
dcrmPassed
boolean dcrmPassed
-
parameters_
double[] parameters_
-
problem_
CeresSolver.ProblemImpl problem_
-
all_covariance_blocks_
java.util.Vector<CeresSolver.Pair<double[],double[]>> all_covariance_blocks_
-
column_bounds_
java.util.HashMap<double[],CeresSolver.Pair<java.lang.Integer,java.lang.Integer>> column_bounds_
-
local_column_bounds_
java.util.HashMap<double[],CeresSolver.Pair<java.lang.Integer,java.lang.Integer>> local_column_bounds_
-
x
double[] x
-
y
double[] y
-
z
double[] z
-
-
Method Detail
-
fitToExternalFunction
public boolean fitToExternalFunction(double[] x, double[] residuals, double[][] jacobian)
- Specified by:
fitToExternalFunction
in classCeresSolver
-
runNumericDiffCostFunctionExample
public void runNumericDiffCostFunctionExample()
-
runAutoDiffCostFunctionExample
public void runAutoDiffCostFunctionExample()
-
runSizedCostFunctionExample
public void runSizedCostFunctionExample()
-
runRosenbrockExample
public void runRosenbrockExample()
-
runCurveFittingSizedCostFunctionExample
public void runCurveFittingSizedCostFunctionExample()
-
runCurveFittingNumericDiffCostFunctionExample
public void runCurveFittingNumericDiffCostFunctionExample()
-
TESTBlockRandomAccessDenseMatrixGetCell
public void TESTBlockRandomAccessDenseMatrixGetCell()
-
TESTBlockRandomAccessDenseMatrixWriteCell
public void TESTBlockRandomAccessDenseMatrixWriteCell()
-
BlockRandomAccessDiagonalMatrixTest
public void BlockRandomAccessDiagonalMatrixTest()
-
TestDetectStructure
public void TestDetectStructure()
-
ConjugateGradientTest
public void ConjugateGradientTest()
-
DenseSparseMatrixTestRightMultiply
public void DenseSparseMatrixTestRightMultiply()
-
DenseSparseMatrixTestLeftMultiply
public void DenseSparseMatrixTestLeftMultiply()
-
DenseSparseMatrixTestColumnNorm
public void DenseSparseMatrixTestColumnNorm()
-
DenseSparseMatrixTestScale
public void DenseSparseMatrixTestScale()
-
DenseSparseMatrixTestToDenseMatrix
public void DenseSparseMatrixTestToDenseMatrix()
-
TESTReorderResidualBlockNormalFunction
public void TESTReorderResidualBlockNormalFunction()
-
TESTApplyOrderingOrderingTooSmall
public void TESTApplyOrderingOrderingTooSmall()
-
TESTApplyOrderingNormal
public void TESTApplyOrderingNormal()
-
TESTTripletSparseMatrixDefaultConstructorReturnsEmptyObject
public void TESTTripletSparseMatrixDefaultConstructorReturnsEmptyObject()
-
TESTTripletSparseMatrixSimpleConstructorAndBasicOperations
public void TESTTripletSparseMatrixSimpleConstructorAndBasicOperations()
-
TESTTripletSparseMatrixCopyConstructor
public void TESTTripletSparseMatrixCopyConstructor()
-
TESTTripletSparseMatrixAssignmentOperator
public void TESTTripletSparseMatrixAssignmentOperator()
-
TESTTripletSparseMatrixAppendRows
public void TESTTripletSparseMatrixAppendRows()
-
TESTTripletSparseMatrixAppendCols
public void TESTTripletSparseMatrixAppendCols()
-
TESTTripletSparseMatrixCreateDiagonalMatrix
public void TESTTripletSparseMatrixCreateDiagonalMatrix()
-
TESTTripletSparseMatrixResize
public void TESTTripletSparseMatrixResize()
-
TESTResidualBlockEvaluteWithNoLossFunctionOrLocalParameterizations
public void TESTResidualBlockEvaluteWithNoLossFunctionOrLocalParameterizations()
-
TESTResidualBlockEvaluteWithLocalParameterizations
public void TESTResidualBlockEvaluteWithLocalParameterizations()
-
TESTIdentityParameterizationEverythingTest
public void TESTIdentityParameterizationEverythingTest()
-
TESTSubsetParameterizationNegativeParameterIndexDeathTest
public void TESTSubsetParameterizationNegativeParameterIndexDeathTest()
-
TESTSubsetParameterizationGreaterThanSizeParameterIndexDeathTest
public void TESTSubsetParameterizationGreaterThanSizeParameterIndexDeathTest()
-
TESTSubsetParameterizationDuplicateParametersDeathTest
public void TESTSubsetParameterizationDuplicateParametersDeathTest()
-
TESTSubsetParameterizationProductParameterizationWithZeroLocalSizeSubsetParameterization1
public void TESTSubsetParameterizationProductParameterizationWithZeroLocalSizeSubsetParameterization1()
-
TESTSubsetParameterizationProductParameterizationWithZeroLocalSizeSubsetParameterization2
public void TESTSubsetParameterizationProductParameterizationWithZeroLocalSizeSubsetParameterization2()
-
TESTSubsetParameterizationNormalFunctionTest
public void TESTSubsetParameterizationNormalFunctionTest()
-
SchurOrderingTestNoFixed
public void SchurOrderingTestNoFixed()
-
SchurOrderingTestAllFixed
public void SchurOrderingTestAllFixed()
-
SchurOrderingTestOneFixed
public void SchurOrderingTestOneFixed()
-
BlockJacobiPreconditionerTestSmallProblem
public void BlockJacobiPreconditionerTestSmallProblem()
-
BlockJacobiPreconditionerTestLargeProblem
public void BlockJacobiPreconditionerTestLargeProblem()
-
IterativeSchurComplementSolverTestNormalProblem
public void IterativeSchurComplementSolverTestNormalProblem()
-
IterativeSchurComplementSolverTestProblemWithNoFBlocks
public void IterativeSchurComplementSolverTestProblemWithNoFBlocks()
-
PartitionedMatrixViewTestDimensionsTest
public void PartitionedMatrixViewTestDimensionsTest()
-
PartitionedMatrixViewTestRightMultiplyE
public void PartitionedMatrixViewTestRightMultiplyE()
-
PartitionedMatrixViewTestRightMultiplyF
public void PartitionedMatrixViewTestRightMultiplyF()
-
PartitionedMatrixViewTestLeftMultiply
public void PartitionedMatrixViewTestLeftMultiply()
-
PartitionedMatrixViewTestBlockDiagonalEtE
public void PartitionedMatrixViewTestBlockDiagonalEtE()
-
PartitionedMatrixViewTestBlockDiagonalFtF
public void PartitionedMatrixViewTestBlockDiagonalFtF()
-
BlockSparseMatrixTestSetZeroTest
public void BlockSparseMatrixTestSetZeroTest()
-
BlockSparseMatrixTestRightMultiplyTest
public void BlockSparseMatrixTestRightMultiplyTest()
-
BlockSparseMatrixTestLeftMultiplyTest
public void BlockSparseMatrixTestLeftMultiplyTest()
-
BlockSparseMatrixTestSquaredColumnNormTest
public void BlockSparseMatrixTestSquaredColumnNormTest()
-
BlockSparseMatrixTestToDenseMatrixTest
public void BlockSparseMatrixTestToDenseMatrixTest()
-
BlockSparseMatrixTestAppendRows
public void BlockSparseMatrixTestAppendRows()
-
BlockSparseMatrixTestAppendAndDeleteBlockDiagonalMatrix
public void BlockSparseMatrixTestAppendAndDeleteBlockDiagonalMatrix()
-
BlockSparseMatrixCreateDiagonalMatrix
public void BlockSparseMatrixCreateDiagonalMatrix()
-
TESTMatrixMatrixMultiply
public void TESTMatrixMatrixMultiply()
-
TESTMatrixTransposeMatrixMultiply
public void TESTMatrixTransposeMatrixMultiply()
-
TESTMatrixVectorMultiply
public void TESTMatrixVectorMultiply()
-
TESTMatrixTransposeVectorMultiply
public void TESTMatrixTransposeVectorMultiply()
-
RandOrthMat
public Jama.Matrix RandOrthMat(int n, double tol)
-
TESTInvertPSDMatrixIdentity3x3
public void TESTInvertPSDMatrixIdentity3x3()
-
TESTInvertPSDMatrixFullRank5x5
public void TESTInvertPSDMatrixFullRank5x5()
-
TESTInvertPSDMatrixRankDeficient5x5
public void TESTInvertPSDMatrixRankDeficient5x5()
-
OrderedGroupsEmptyOrderedGroupBehavesCorrectly
public void OrderedGroupsEmptyOrderedGroupBehavesCorrectly()
-
TESTOrderedGroupsEverythingInOneGroup
public void TESTOrderedGroupsEverythingInOneGroup()
-
TESTOrderedGroupsStartInOneGroupAndThenSplit
public void TESTOrderedGroupsStartInOneGroupAndThenSplit()
-
TESTOrderedGroupsAddAndRemoveEveryThingFromOneGroup
public void TESTOrderedGroupsAddAndRemoveEveryThingFromOneGroup()
-
TESTOrderedGroupsReverseOrdering
public void TESTOrderedGroupsReverseOrdering()
-
TESTOrderedGroupsReverseOrderingWithEmptyOrderedGroups
public void TESTOrderedGroupsReverseOrderingWithEmptyOrderedGroups()
-
TESTOrderedGroupsBulkRemove
public void TESTOrderedGroupsBulkRemove()
-
TESTOrderedGroupsBulkRemoveWithNoElements
public void TESTOrderedGroupsBulkRemoveWithNoElements()
-
TESTOrderedGroupsMinNonZeroGroup
public void TESTOrderedGroupsMinNonZeroGroup()
-
SchurEliminatorTestScalarProblemNoRegularization
public void SchurEliminatorTestScalarProblemNoRegularization()
-
SchurEliminatorTestScalarProblemWithRegularization
public void SchurEliminatorTestScalarProblemWithRegularization()
-
SchurEliminatorTestVaryingFBlockSizeWithStaticStructure
public void SchurEliminatorTestVaryingFBlockSizeWithStaticStructure()
-
SchurEliminatorTestVaryingFBlockSizeWithoutStaticStructure
public void SchurEliminatorTestVaryingFBlockSizeWithoutStaticStructure()
-
ImplicitSchurComplementTestSchurMatrixValuesTest
public void ImplicitSchurComplementTestSchurMatrixValuesTest()
-
TESTLevenbergMarquardtStrategyAcceptRejectStepRadiusScaling
public void TESTLevenbergMarquardtStrategyAcceptRejectStepRadiusScaling()
-
TESTLevenbergMarquardtStrategyCorrectDiagonalToLinearSolver
public void TESTLevenbergMarquardtStrategyCorrectDiagonalToLinearSolver()
-
DoglegStrategyFixtureEllipseTrustRegionObeyedTraditional
public void DoglegStrategyFixtureEllipseTrustRegionObeyedTraditional()
-
DoglegStrategyFixtureEllipseTrustRegionObeyedSubspace
public void DoglegStrategyFixtureEllipseTrustRegionObeyedSubspace()
-
DoglegStrategyFixtureEllipseCorrectGaussNewtonStep
public void DoglegStrategyFixtureEllipseCorrectGaussNewtonStep()
-
DoglegStrategyFixtureEllipseValidSubspaceBasis
public void DoglegStrategyFixtureEllipseValidSubspaceBasis()
-
DoglegStrategyFixtureValleyCorrectStepLocalOptimumAlongGradient
public void DoglegStrategyFixtureValleyCorrectStepLocalOptimumAlongGradient()
-
DoglegStrategyFixtureValleyCorrectStepGlobalOptimumAlongGradient
public void DoglegStrategyFixtureValleyCorrectStepGlobalOptimumAlongGradient()
-
LineSearchPreprocessorZeroProblem
public void LineSearchPreprocessorZeroProblem()
-
LineSearchPreprocessorProblemWithInvalidParameterBlock
public void LineSearchPreprocessorProblemWithInvalidParameterBlock()
-
LineSearchPreprocessorParameterBlockHasBounds
public void LineSearchPreprocessorParameterBlockHasBounds()
-
LineSearchPreprocessorRemoveParameterBlocksFailed
public void LineSearchPreprocessorRemoveParameterBlocksFailed()
-
LineSearchPreprocessorRemoveParameterBlocksSucceeds
public void LineSearchPreprocessorRemoveParameterBlocksSucceeds()
-
LineSearchPreprocessorNormalOperation
public void LineSearchPreprocessorNormalOperation()
-
TrustRegionPreprocessorZeroProblem
public void TrustRegionPreprocessorZeroProblem()
-
TrustRegionPreprocessorProblemWithInvalidParameterBlock
public void TrustRegionPreprocessorProblemWithInvalidParameterBlock()
-
TrustRegionPreprocessorParameterBlockBoundsAreInvalid
public void TrustRegionPreprocessorParameterBlockBoundsAreInvalid()
-
TrustRegionPreprocessorParamterBlockIsInfeasible
public void TrustRegionPreprocessorParamterBlockIsInfeasible()
-
TrustRegionPreprocessorRemoveParameterBlocksFailed
public void TrustRegionPreprocessorRemoveParameterBlocksFailed()
-
TrustRegionPreprocessorRemoveParameterBlocksSucceeds
public void TrustRegionPreprocessorRemoveParameterBlocksSucceeds()
-
PreprocessForGivenLinearSolverAndVerify
public void PreprocessForGivenLinearSolverAndVerify(CeresSolver.LinearSolverType linear_solver_type, CeresSolver.ProblemImpl problem_, java.lang.String testName)
-
LinearSolverAndEvaluatorCreationTestDenseQR
public void LinearSolverAndEvaluatorCreationTestDenseQR()
-
LinearSolverAndEvaluatorCreationTestDenseNormalCholesky
public void LinearSolverAndEvaluatorCreationTestDenseNormalCholesky()
-
LinearSolverAndEvaluatorCreationTestDenseSchur
public void LinearSolverAndEvaluatorCreationTestDenseSchur()
-
LinearSolverAndEvaluatorCreationTestCGNR
public void LinearSolverAndEvaluatorCreationTestCGNR()
-
LinearSolverAndEvaluatorCreationTestIterativeSchur
public void LinearSolverAndEvaluatorCreationTestIterativeSchur()
-
LinearSolverAndEvaluatorCreationTestMinimizerIsAwareOfBounds
public void LinearSolverAndEvaluatorCreationTestMinimizerIsAwareOfBounds()
-
LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithBadOrdering
public void LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithBadOrdering()
-
LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithGoodOrdering
public void LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithGoodOrdering()
-
LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithEmptyFirstEliminationGroup
public void LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithEmptyFirstEliminationGroup()
-
LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithEmptySecondEliminationGroup
public void LinearSolverAndEvaluatorCreationTestSchurTypeSolverWithEmptySecondEliminationGroup()
-
TrustRegionPreprocessorTestInnerIterationsWithOneParameterBlock
public void TrustRegionPreprocessorTestInnerIterationsWithOneParameterBlock()
-
LinearSolverAndEvaluatorCreationTestInnerIterationsWithTwoParameterBlocks
public void LinearSolverAndEvaluatorCreationTestInnerIterationsWithTwoParameterBlocks()
-
LinearSolverAndEvaluatorCreationTestInvalidInnerIterationsOrdering
public void LinearSolverAndEvaluatorCreationTestInvalidInnerIterationsOrdering()
-
LinearSolverAndEvaluatorCreationTestValidInnerIterationsOrdering
public void LinearSolverAndEvaluatorCreationTestValidInnerIterationsOrdering()
-
LineSearchMinimizerTestFinalCostIsZero
public void LineSearchMinimizerTestFinalCostIsZero()
-
IsTrustRegionSolveSuccessful
public void IsTrustRegionSolveSuccessful(boolean col1, boolean col2, boolean col3, boolean col4, CeresSolver.TrustRegionStrategyType strategy_type, int[] failed)
-
TrustRegionMinimizerPowellsSingularFunctionUsingLevenbergMarquardt
public void TrustRegionMinimizerPowellsSingularFunctionUsingLevenbergMarquardt()
-
TrustRegionMinimizerPowellsSingularFunctionUsingDogleg
public void TrustRegionMinimizerPowellsSingularFunctionUsingDogleg()
-
TrustRegionMinimizerJacobiScalingTest
public void TrustRegionMinimizerJacobiScalingTest()
-
TrustRegionMinimizerGradientToleranceConvergenceUpdatesStep
public void TrustRegionMinimizerGradientToleranceConvergenceUpdatesStep()
-
QuaternionParameterizationTestHelper
public void QuaternionParameterizationTestHelper(double[] x, double[] delta, double[] x_plus_delta_ref, java.lang.String testName)
-
QuaternionParameterizationZeroTest
public void QuaternionParameterizationZeroTest()
-
QuaternionParameterizationNearZeroTest
public void QuaternionParameterizationNearZeroTest()
-
QuaternionParameterizationAwayFromZeroTest
public void QuaternionParameterizationAwayFromZeroTest()
-
EigenQuaternionParameterizationTestHelper
public void EigenQuaternionParameterizationTestHelper(double[] x, double[] delta, double[] x_plus_delta_ref, java.lang.String testName)
-
EigenQuaternionParameterizationZeroTest
public void EigenQuaternionParameterizationZeroTest()
-
EigenQuaternionParameterizationNearZeroTest
public void EigenQuaternionParameterizationNearZeroTest()
-
EigenQuaternionParameterizationAwayFromZeroTest
public void EigenQuaternionParameterizationAwayFromZeroTest()
-
HouseholderTestHelper
public void HouseholderTestHelper(double[] x, java.lang.String testName)
-
HouseholderVectorZeroPositive
public void HouseholderVectorZeroPositive()
-
HouseholderVectorZeroNegative
public void HouseholderVectorZeroNegative()
-
HouseholderVectorNearZeroPositive
public void HouseholderVectorNearZeroPositive()
-
HouseholderVectorNearZeroNegative
public void HouseholderVectorNearZeroNegative()
-
HouseholderVectorNonZeroNegative
public void HouseholderVectorNonZeroNegative()
-
HouseholderVectorNonZeroPositive
public void HouseholderVectorNonZeroPositive()
-
HouseholderVectorNonZeroPositive_Size4
public void HouseholderVectorNonZeroPositive_Size4()
-
HouseholderVectorLastElementZero
public void HouseholderVectorLastElementZero()
-
HomogeneousVectorParameterizationHelper
public void HomogeneousVectorParameterizationHelper(double[] x, double[] delta, java.lang.String testName)
-
HomogeneousVectorParameterizationZeroTest
public void HomogeneousVectorParameterizationZeroTest()
-
HomogeneousVectorParameterizationNearZeroTest1
public void HomogeneousVectorParameterizationNearZeroTest1()
-
HomogeneousVectorParameterizationNearZeroTest2
public void HomogeneousVectorParameterizationNearZeroTest2()
-
HomogeneousVectorParameterizationAwayFromZeroTest1
public void HomogeneousVectorParameterizationAwayFromZeroTest1()
-
HomogeneousVectorParameterizationAwayFromZeroTest2
public void HomogeneousVectorParameterizationAwayFromZeroTest2()
-
HomogeneousVectorParameterizationAwayFromZeroTest3
public void HomogeneousVectorParameterizationAwayFromZeroTest3()
-
HomogeneousVectorParameterizationAwayFromZeroTest4
public void HomogeneousVectorParameterizationAwayFromZeroTest4()
-
HomogeneousVectorParameterizationAwayFromZeroTest5
public void HomogeneousVectorParameterizationAwayFromZeroTest5()
-
ProductParameterizationTestLocalAndGlobalSize2
public void ProductParameterizationTestLocalAndGlobalSize2()
-
ProductParameterizationTestLocalAndGlobalSize3
public void ProductParameterizationTestLocalAndGlobalSize3()
-
ProductParameterizationTestLocalAndGlobalSize4
public void ProductParameterizationTestLocalAndGlobalSize4()
-
ProductParameterizationTestPlus
public void ProductParameterizationTestPlus()
-
ProductParameterizationTestComputeJacobian
public void ProductParameterizationTestComputeJacobian()
-
CompareEvaluations
public void CompareEvaluations(int expected_num_rows, int expected_num_cols, double expected_cost, double[] expected_residuals, double[] expected_gradient, double[] expected_jacobian, double actual_cost, double[] actual_residuals, double[] actual_gradient, double[] actual_jacobian, java.lang.String testName, boolean[] passed)
-
CompareEvaluations
public void CompareEvaluations(int expected_num_rows, int expected_num_cols, double expected_cost, double[] expected_residuals, double[] expected_gradient, double[][] expected_jacobian, double actual_cost, double[] actual_residuals, double[] actual_gradient, double[][] actual_jacobian, java.lang.String testName, boolean[] passed)
-
EvaluatorTestSingleResidualProblem
public void EvaluatorTestSingleResidualProblem()
-
EvaluatorTestSingleResidualProblemWithPermutedParameters
public void EvaluatorTestSingleResidualProblemWithPermutedParameters()
-
EvaluatorTestSingleResidualProblemWithNuisanceParameters
public void EvaluatorTestSingleResidualProblemWithNuisanceParameters()
-
EvaluatorTestMultipleResidualProblem
public void EvaluatorTestMultipleResidualProblem()
-
EvaluatorTestMultipleResidualsWithLocalParameterizations
public void EvaluatorTestMultipleResidualsWithLocalParameterizations()
-
EvaluatorTestMultipleResidualProblemWithSomeConstantParameters
public void EvaluatorTestMultipleResidualProblemWithSomeConstantParameters()
-
EvaluatorTestEvaluatorAbortsForResidualsThatFailToEvaluate
public void EvaluatorTestEvaluatorAbortsForResidualsThatFailToEvaluate()
-
createEvaluatorTestOptions
public CeresSolverTest.EvaluatorTestOptions[] createEvaluatorTestOptions()
-
createEvaluateStringName
public java.lang.String[] createEvaluateStringName()
-
SetSparseMatrixConstant
public void SetSparseMatrixConstant(CeresSolver.SparseMatrix sparse_matrix, double value)
-
EvaluatorRespectsParameterChanges
public void EvaluatorRespectsParameterChanges()
-
GradientProblemSolverSolvesRosenbrockWithDefaultOptions
public void GradientProblemSolverSolvesRosenbrockWithDefaultOptions()
-
SolverUpdateStateEveryIterationOption
public void SolverUpdateStateEveryIterationOption()
-
GradientProblemTakesOwnershipOfFirstOrderFunction
public void GradientProblemTakesOwnershipOfFirstOrderFunction()
-
GradientProblemEvaluationWithoutParameterizationOrGradient
public void GradientProblemEvaluationWithoutParameterizationOrGradient()
-
GradientProblemEvalutaionWithParameterizationAndNoGradient
public void GradientProblemEvalutaionWithParameterizationAndNoGradient()
-
GradientProblemEvaluationWithoutParameterizationAndWithGradient
public void GradientProblemEvaluationWithoutParameterizationAndWithGradient()
-
GradientProblemEvaluationWithParameterizationAndWithGradient
public void GradientProblemEvaluationWithParameterizationAndWithGradient()
-
MinimizerInitializationCopiesCallbacks
public void MinimizerInitializationCopiesCallbacks()
-
MinimizerUserAbortUpdatesSummaryMessage
public void MinimizerUserAbortUpdatesSummaryMessage()
-
MinimizerUserSuccessUpdatesSummaryMessage
public void MinimizerUserSuccessUpdatesSummaryMessage()
-
ParameterBlockSetLocalParameterizationDiesOnSizeMismatch
public void ParameterBlockSetLocalParameterizationDiesOnSizeMismatch()
-
ParameterBlockSetLocalParameterizationWithSameExistingParameterization
public void ParameterBlockSetLocalParameterizationWithSameExistingParameterization()
-
ParameterBlockSetLocalParameterizationDiesWhenResettingToNull
public void ParameterBlockSetLocalParameterizationDiesWhenResettingToNull()
-
ParameterBlockSetLocalParameterizationDiesWhenResettingToDifferentParameterization
public void ParameterBlockSetLocalParameterizationDiesWhenResettingToDifferentParameterization()
-
ParameterBlockSetLocalParameterizationDiesOnNullParameterization
public void ParameterBlockSetLocalParameterizationDiesOnNullParameterization()
-
ParameterBlockSetParameterizationDiesOnZeroLocalSize
public void ParameterBlockSetParameterizationDiesOnZeroLocalSize()
-
ParameterBlockSetLocalParameterizationAndNormalOperation
public void ParameterBlockSetLocalParameterizationAndNormalOperation()
-
ParameterBlockSetStateUpdatesLocalParameterizationJacobian
public void ParameterBlockSetStateUpdatesLocalParameterizationJacobian()
-
ParameterBlockPlusWithNoLocalParameterization
public void ParameterBlockPlusWithNoLocalParameterization()
-
ParameterBlockDetectBadLocalParameterization
public void ParameterBlockDetectBadLocalParameterization()
-
ParameterBlockDefaultBounds
public void ParameterBlockDefaultBounds()
-
ParameterBlockSetBounds
public void ParameterBlockSetBounds()
-
ParameterBlockPlusWithBoundsConstraints
public void ParameterBlockPlusWithBoundsConstraints()
-
GraphEmptyGraph
public void GraphEmptyGraph()
-
GraphAddVertexAndEdge
public void GraphAddVertexAndEdge()
-
GraphAddVertexIdempotence
public void GraphAddVertexIdempotence()
-
GraphDieOnNonExistentVertex
public void GraphDieOnNonExistentVertex()
-
WeightedGraphEmptyGraph
public void WeightedGraphEmptyGraph()
-
WeightedGraphAddVertexAndEdge
public void WeightedGraphAddVertexAndEdge()
-
WeightedGraphAddVertexIdempotence
public void WeightedGraphAddVertexIdempotence()
-
WeightedGraphDieOnNonExistentVertex
public void WeightedGraphDieOnNonExistentVertex()
-
WeightedGraphNonExistentEdge
public void WeightedGraphNonExistentEdge()
-
ProblemAddResidualWithNullCostFunctionDies
public void ProblemAddResidualWithNullCostFunctionDies()
-
ProblemAddResidualWithIncorrectNumberOfParameterBlocksDies
public void ProblemAddResidualWithIncorrectNumberOfParameterBlocksDies()
-
ProblemAddResidualWithDifferentSizesOnTheSameVariableDies
public void ProblemAddResidualWithDifferentSizesOnTheSameVariableDies()
-
ProblemAddResidualWithDuplicateParametersDies
public void ProblemAddResidualWithDuplicateParametersDies()
-
ProblemAddResidualWithIncorrectSizesOfParameterBlockDies
public void ProblemAddResidualWithIncorrectSizesOfParameterBlockDies()
-
ProblemAddResidualAddsDuplicatedParametersOnlyOnce
public void ProblemAddResidualAddsDuplicatedParametersOnlyOnce()
-
ProblemAddParameterWithDifferentSizesOnTheSameVariableDies
public void ProblemAddParameterWithDifferentSizesOnTheSameVariableDies()
-
IntToPtr
public double[] IntToPtr(int i)
-
ProblemAddParameterIgnoresDuplicateCalls
public void ProblemAddParameterIgnoresDuplicateCalls()
-
ProblemAddingParametersAndResidualsResultsInExpectedProblem
public void ProblemAddingParametersAndResidualsResultsInExpectedProblem()
-
ProblemReusedCostFunctionsAreOnlyDeletedOnce
public void ProblemReusedCostFunctionsAreOnlyDeletedOnce()
-
ProblemGetCostFunctionForResidualBlock
public void ProblemGetCostFunctionForResidualBlock()
-
ProblemGetLossFunctionForResidualBlock
public void ProblemGetLossFunctionForResidualBlock()
-
ProblemCostFunctionsAreDeletedEvenWithRemovals
public void ProblemCostFunctionsAreDeletedEvenWithRemovals()
-
ProblemSetParameterBlockConstantWithUnknownPtrDies
public void ProblemSetParameterBlockConstantWithUnknownPtrDies()
-
ProblemSetParameterBlockVariableWithUnknownPtrDies
public void ProblemSetParameterBlockVariableWithUnknownPtrDies()
-
ProblemIsParameterBlockConstant
public void ProblemIsParameterBlockConstant()
-
ProblemIsParameterBlockConstantWithUnknownPtrDies
public void ProblemIsParameterBlockConstantWithUnknownPtrDies()
-
ProblemSetLocalParameterizationWithUnknownPtrDies
public void ProblemSetLocalParameterizationWithUnknownPtrDies()
-
ProblemRemoveParameterBlockWithUnknownPtrDies
public void ProblemRemoveParameterBlockWithUnknownPtrDies()
-
ProblemGetParameterization
public void ProblemGetParameterization()
-
ProblemParameterBlockQueryTest
public void ProblemParameterBlockQueryTest()
-
DynamicProblemRemoveParameterBlockWithNoResiduals
public void DynamicProblemRemoveParameterBlockWithNoResiduals()
-
DynamicProblemRemoveParameterBlockWithResiduals
public void DynamicProblemRemoveParameterBlockWithResiduals()
-
DynamicProblemRemoveResidualBlock
public void DynamicProblemRemoveResidualBlock()
-
DynamicProblemRemoveInvalidResidualBlockDies
public void DynamicProblemRemoveInvalidResidualBlockDies()
-
CorrectorZeroGradientDeathTest
public void CorrectorZeroGradientDeathTest()
-
CorrectorNegativeGradientDeathTest
public void CorrectorNegativeGradientDeathTest()
-
CorrectorScalarCorrection
public void CorrectorScalarCorrection()
-
CorrectorScalarCorrectionZeroResidual
public void CorrectorScalarCorrectionZeroResidual()
-
CorrectorScalarCorrectionAlphaClamped
public void CorrectorScalarCorrectionAlphaClamped()
-
CorrectorMultidimensionalGaussNewtonApproximation
public void CorrectorMultidimensionalGaussNewtonApproximation()
-
CorrectorMultidimensionalGaussNewtonApproximationZeroResidual
public void CorrectorMultidimensionalGaussNewtonApproximationZeroResidual()
-
AssertLossFunctionIsValid
public void AssertLossFunctionIsValid(CeresSolver.LossFunction loss, double s, java.lang.String testName)
-
LossFunctionTrivialLoss
public void LossFunctionTrivialLoss()
-
LossFunctionHuberLoss
public void LossFunctionHuberLoss()
-
LossFunctionSoftLOneLoss
public void LossFunctionSoftLOneLoss()
-
LossFunctionCauchyLoss
public void LossFunctionCauchyLoss()
-
LossFunctionArctanLoss
public void LossFunctionArctanLoss()
-
LossFunctionTolerantLoss
public void LossFunctionTolerantLoss()
-
LossFunctionTukeyLoss
public void LossFunctionTukeyLoss()
-
LossFunctionComposedLoss
public void LossFunctionComposedLoss()
-
LossFunctionScaledLoss
public void LossFunctionScaledLoss()
-
LossFunctionLossFunctionWrapper
public void LossFunctionLossFunctionWrapper()
-
RandomVector
public void RandomVector(java.util.Vector<java.lang.Double> v)
-
RandomMatrix
public void RandomMatrix(Jama.Matrix m)
-
NormalPriorTestResidualAtRandomPosition
public void NormalPriorTestResidualAtRandomPosition()
-
NormalPriorTestResidualAtRandomPositionNullJacobians
public void NormalPriorTestResidualAtRandomPositionNullJacobians()
-
SolverOptionsDefaultTrustRegionOptionsAreValid
public void SolverOptionsDefaultTrustRegionOptionsAreValid()
-
SolverOptionsDefaultLineSearchOptionsAreValid
public void SolverOptionsDefaultLineSearchOptionsAreValid()
-
SolverTrustRegionProblemHasNoParameterBlocks
public void SolverTrustRegionProblemHasNoParameterBlocks()
-
SolverLineSearchProblemHasNoParameterBlocks
public void SolverLineSearchProblemHasNoParameterBlocks()
-
SolverTrustRegionProblemHasZeroResiduals
public void SolverTrustRegionProblemHasZeroResiduals()
-
SolverLineSearchProblemHasZeroResiduals
public void SolverLineSearchProblemHasZeroResiduals()
-
SolverTrustRegionProblemIsConstant
public void SolverTrustRegionProblemIsConstant()
-
SolverLineSearchProblemIsConstant
public void SolverLineSearchProblemIsConstant()
-
SolverIterativeLinearSolverForDogleg
public void SolverIterativeLinearSolverForDogleg()
-
SolverLinearSolverTypeNormalOperation
public void SolverLinearSolverTypeNormalOperation()
-
SolverCantMixEvaluationCallbackWithInnerIterations
public void SolverCantMixEvaluationCallbackWithInnerIterations()
-
SolverFixedCostForConstantProblem
public void SolverFixedCostForConstantProblem()
-
ConstantPolynomial
public java.util.Vector<java.lang.Double> ConstantPolynomial(double value)
-
AddRealRoot
public java.util.Vector<java.lang.Double> AddRealRoot(java.util.Vector<java.lang.Double> poly, double root)
-
AddComplexRootPair
public java.util.Vector<java.lang.Double> AddComplexRootPair(java.util.Vector<java.lang.Double> poly, double real, double imag)
-
SortVector
public java.util.Vector<java.lang.Double> SortVector(java.util.Vector<java.lang.Double> in)
-
RunPolynomialTestRealRoots
void RunPolynomialTestRealRoots(double[] real_roots, boolean use_real, boolean use_imaginary, double epsilon, java.lang.String testName)
-
PolynomialInvalidPolynomialOfZeroLengthIsRejected
public void PolynomialInvalidPolynomialOfZeroLengthIsRejected()
-
PolynomialConstantPolynomialReturnsNoRoots
public void PolynomialConstantPolynomialReturnsNoRoots()
-
PolynomialLinearPolynomialWithPositiveRootWorks
public void PolynomialLinearPolynomialWithPositiveRootWorks()
-
PolynomialLinearPolynomialWithNegativeRootWorks
public void PolynomialLinearPolynomialWithNegativeRootWorks()
-
PolynomialQuadraticPolynomialWithPositiveRootsWorks
public void PolynomialQuadraticPolynomialWithPositiveRootsWorks()
-
PolynomialQuadraticPolynomialWithOneNegativeRootWorks
public void PolynomialQuadraticPolynomialWithOneNegativeRootWorks()
-
PolynomialQuadraticPolynomialWithTwoNegativeRootsWorks
public void PolynomialQuadraticPolynomialWithTwoNegativeRootsWorks()
-
PolynomialQuadraticPolynomialWithCloseRootsWorks
public void PolynomialQuadraticPolynomialWithCloseRootsWorks()
-
PolynomialQuadraticPolynomialWithComplexRootsWorks
public void PolynomialQuadraticPolynomialWithComplexRootsWorks()
-
PolynomialQuarticPolynomialWorks
public void PolynomialQuarticPolynomialWorks()
-
PolynomialQuarticPolynomialWithTwoClustersOfCloseRootsWorks
public void PolynomialQuarticPolynomialWithTwoClustersOfCloseRootsWorks()
-
PolynomialQuarticPolynomialWithTwoZeroRootsWorks
public void PolynomialQuarticPolynomialWithTwoZeroRootsWorks()
-
PolynomialQuarticMonomialWorks
public void PolynomialQuarticMonomialWorks()
-
PolynomialNullPointerAsImaginaryPartWorks
public void PolynomialNullPointerAsImaginaryPartWorks()
-
PolynomialNullPointerAsRealPartWorks
public void PolynomialNullPointerAsRealPartWorks()
-
PolynomialBothOutputArgumentsNullWorks
public void PolynomialBothOutputArgumentsNullWorks()
-
PolynomialDifferentiateConstantPolynomial
public void PolynomialDifferentiateConstantPolynomial()
-
PolynomialDifferentiateQuadraticPolynomial
public void PolynomialDifferentiateQuadraticPolynomial()
-
PolynomialMinimizeConstantPolynomial
public void PolynomialMinimizeConstantPolynomial()
-
PolynomialMinimizeLinearPolynomial
public void PolynomialMinimizeLinearPolynomial()
-
PolynomialMinimizeQuadraticPolynomial
public void PolynomialMinimizeQuadraticPolynomial()
-
PolymomialConstantInterpolatingPolynomial
public void PolymomialConstantInterpolatingPolynomial()
-
PolynomialLinearInterpolatingPolynomial
public void PolynomialLinearInterpolatingPolynomial()
-
PolynomialQuadraticInterpolatingPolynomial
public void PolynomialQuadraticInterpolatingPolynomial()
-
PolynomialDeficientCubicInterpolatingPolynomial
public void PolynomialDeficientCubicInterpolatingPolynomial()
-
PolynomialCubicInterpolatingPolynomialFromValues
public void PolynomialCubicInterpolatingPolynomialFromValues()
-
PolynomialCubicInterpolatingPolynomialFromValuesAndOneGradient
public void PolynomialCubicInterpolatingPolynomialFromValuesAndOneGradient()
-
PolynomialCubicInterpolatingPolynomialFromValuesAndGradients
public void PolynomialCubicInterpolatingPolynomialFromValuesAndGradients()
-
ProgramRemoveFixedBlocksNothingConstant
public void ProgramRemoveFixedBlocksNothingConstant()
-
ProgramRemoveFixedBlocksAllParameterBlocksConstant
public void ProgramRemoveFixedBlocksAllParameterBlocksConstant()
-
ProgramRemoveFixedBlocksNoResidualBlocks
public void ProgramRemoveFixedBlocksNoResidualBlocks()
-
ProgramRemoveFixedBlocksOneParameterBlockConstant
public void ProgramRemoveFixedBlocksOneParameterBlockConstant()
-
ProgramRemoveFixedBlocksNumEliminateBlocks
public void ProgramRemoveFixedBlocksNumEliminateBlocks()
-
ProgramRemoveFixedBlocksFixedCost
public void ProgramRemoveFixedBlocksFixedCost()
-
ProgramCreateJacobianBlockSparsityTranspose
public void ProgramCreateJacobianBlockSparsityTranspose()
-
ProgramReallocationInCreateJacobianBlockSparsityTranspose
public void ProgramReallocationInCreateJacobianBlockSparsityTranspose()
-
ProgramProblemHasNanParameterBlocks
public void ProgramProblemHasNanParameterBlocks()
-
ProgramInfeasibleParameterBlock
public void ProgramInfeasibleParameterBlock()
-
ProgramInfeasibleConstantParameterBlock
public void ProgramInfeasibleConstantParameterBlock()
-
ArrayUtilsIsArrayValid
public void ArrayUtilsIsArrayValid()
-
ArrayUtilsFindInvalidIndex
public void ArrayUtilsFindInvalidIndex()
-
MapValuesToContiguousRangeContiguousEntries
public void MapValuesToContiguousRangeContiguousEntries()
-
MapValuesToContiguousRangeNonContiguousEntries
public void MapValuesToContiguousRangeNonContiguousEntries()
-
MapValuesToContiguousRangeNonContiguousRepeatingEntries
public void MapValuesToContiguousRangeNonContiguousRepeatingEntries()
-
IsNormalizedQuaternion
public boolean IsNormalizedQuaternion(double[] arg)
-
IsNearQuaternion
public boolean IsNearQuaternion(double[] arg, double[] expected)
-
IsNearAngleAxis
public boolean IsNearAngleAxis(double[] arg, double[] expected)
-
IsOrthonormal
public boolean IsOrthonormal(double[] arg)
-
IsNear3x3Matrix
public boolean IsNear3x3Matrix(double[] arg, double[] expected)
-
RotationZeroAngleAxisToQuaternion
public void RotationZeroAngleAxisToQuaternion()
-
RotationSmallAngleAxisToQuaternion
public void RotationSmallAngleAxisToQuaternion()
-
RotationTinyAngleAxisToQuaternion
public void RotationTinyAngleAxisToQuaternion()
-
RotationXRotationToQuaternion
public void RotationXRotationToQuaternion()
-
RotationUnitQuaternionToAngleAxis
public void RotationUnitQuaternionToAngleAxis()
-
RotationYRotationQuaternionToAngleAxis
public void RotationYRotationQuaternionToAngleAxis()
-
RotationZRotationQuaternionToAngleAxis
public void RotationZRotationQuaternionToAngleAxis()
-
RotationSmallQuaternionToAngleAxis
public void RotationSmallQuaternionToAngleAxis()
-
RotationTinyQuaternionToAngleAxis
public void RotationTinyQuaternionToAngleAxis()
-
RotationQuaternionToAngleAxisAngleIsLessThanPi
public void RotationQuaternionToAngleAxisAngleIsLessThanPi()
-
RotationAngleAxisToQuaterionAndBack
public void RotationAngleAxisToQuaterionAndBack()
-
RotationQuaterionToAngleAxisAndBack
public void RotationQuaterionToAngleAxisAndBack()
-
RotationZeroAngleAxisToRotationMatrix
public void RotationZeroAngleAxisToRotationMatrix()
-
RotationNearZeroAngleAxisToRotationMatrix
public void RotationNearZeroAngleAxisToRotationMatrix()
-
RotationXRotationToRotationMatrix
public void RotationXRotationToRotationMatrix()
-
RotationYRotationToRotationMatrix
public void RotationYRotationToRotationMatrix()
-
RotationNearPiAngleAxisRoundTrip
public void RotationNearPiAngleAxisRoundTrip()
-
RotationAtPiAngleAxisRoundTrip
public void RotationAtPiAngleAxisRoundTrip()
-
RotationZRotationToRotationMatrix
public void RotationZRotationToRotationMatrix()
-
RotationAngleAxisToRotationMatrixAndBack
public void RotationAngleAxisToRotationMatrixAndBack()
-
RotationAngleAxisToRotationMatrixAndBackNearZero
public void RotationAngleAxisToRotationMatrixAndBackNearZero()
-
CompareEulerToAngleAxis
public void CompareEulerToAngleAxis(double[] aa, double[] ea, java.lang.String testName, boolean[] passed)
-
EulerAnglesToRotationMatrixOnAxis
public void EulerAnglesToRotationMatrixOnAxis()
-
EulerAnglesToRotationMatrixIsOrthonormal
public void EulerAnglesToRotationMatrixIsOrthonormal()
-
QuaternionRotatePointGivesSameAnswerAsRotationByMatrixCanned
public void QuaternionRotatePointGivesSameAnswerAsRotationByMatrixCanned()
-
QuaternionRotatePointGivesSameAnswerAsRotationByMatrix
public void QuaternionRotatePointGivesSameAnswerAsRotationByMatrix()
-
QuaternionMultiplicationIsAssociative
public void QuaternionMultiplicationIsAssociative()
-
AngleAxisRotatePointGivesSameAnswerAsRotationMatrix
public void AngleAxisRotatePointGivesSameAnswerAsRotationMatrix()
-
AngleAxisNearZeroRotatePointGivesSameAnswerAsRotationMatrix
public void AngleAxisNearZeroRotatePointGivesSameAnswerAsRotationMatrix()
-
RotationMatrixToAngleAxisNearPiExampleOneFromTobiasStrauss
public void RotationMatrixToAngleAxisNearPiExampleOneFromTobiasStrauss()
-
CheckRotationMatrixToAngleAxisRoundTrip
public void CheckRotationMatrixToAngleAxisRoundTrip(double theta, double phi, double angle, java.lang.String testName, boolean[] passed)
-
RotationMatrixToAngleAxisExhaustiveRoundTrip
public void RotationMatrixToAngleAxisExhaustiveRoundTrip()
-
VisibilityTestSimpleMatrix
public void VisibilityTestSimpleMatrix()
-
VisibilityTestNoEBlocks
public void VisibilityTestNoEBlocks()
-
GradientCheckingCostFunctionResidualsAndJacobiansArePreservedTest
public void GradientCheckingCostFunctionResidualsAndJacobiansArePreservedTest()
-
GradientCheckingCostFunctionSmokeTest
public void GradientCheckingCostFunctionSmokeTest()
-
ParameterBlocksAreEquivalent
public void ParameterBlocksAreEquivalent(CeresSolver.ParameterBlock left, CeresSolver.ParameterBlock right, java.lang.String testName, boolean[] passed)
-
GradientCheckingProblemImplProblemDimensionsMatch
public void GradientCheckingProblemImplProblemDimensionsMatch()
-
CheckDimensions
public void CheckDimensions(CeresSolver.ProbeResults results, java.util.Vector<java.lang.Integer> parameter_sizes, java.util.Vector<java.lang.Integer> local_parameter_sizes, int residual_size, java.lang.String testName, boolean[] passed)
-
GradientCheckerSmokeTest
public void GradientCheckerSmokeTest()
-
ExpectMatricesClose
public void ExpectMatricesClose(Jama.Matrix p, Jama.Matrix q, double tolerance, java.lang.String testName, boolean[] passed)
-
ExpectMatricesClose
public void ExpectMatricesClose(double[] p, double[] q, double tolerance, java.lang.String testName, boolean[] passed)
-
GradientCheckerTestCorrectnessWithLocalParameterizations
public void GradientCheckerTestCorrectnessWithLocalParameterizations()
-
hash
public long hash(byte[] data)
-
EvaluationCallbackWithTrustRegionMinimizer
public void EvaluationCallbackWithTrustRegionMinimizer()
-
WithLineSearchMinimizerImpl
public void WithLineSearchMinimizerImpl(CeresSolver.LineSearchType line_search, CeresSolver.LineSearchDirectionType line_search_direction, CeresSolver.LineSearchInterpolationType line_search_interpolation, java.lang.String testName, boolean[] passed)
-
EvaluationCallbackWithLineSearchMinimizerWolfeLbfgsCubic
public void EvaluationCallbackWithLineSearchMinimizerWolfeLbfgsCubic()
-
EvaluationCallbackWithLineSearchMinimizerWolfeLbfgsQuadratic
public void EvaluationCallbackWithLineSearchMinimizerWolfeLbfgsQuadratic()
-
EvaluationCallbackWithLineSearchMinimizerWolfeBfgsCubic
public void EvaluationCallbackWithLineSearchMinimizerWolfeBfgsCubic()
-
EvaluationCallbackWithLineSearchMinimizerWolfeBfgsQuadratic
public void EvaluationCallbackWithLineSearchMinimizerWolfeBfgsQuadratic()
-
EvaluationCallbackWithLineSearchMinimizerArmijoCubic
public void EvaluationCallbackWithLineSearchMinimizerArmijoCubic()
-
EvaluationCallbackWithLineSearchMinimizerArmijoBisection
public void EvaluationCallbackWithLineSearchMinimizerArmijoBisection()
-
EvaluationCallbackWithLineSearchMinimizerArmijoQuadratic
public void EvaluationCallbackWithLineSearchMinimizerArmijoQuadratic()
-
NumericDiffCostFunctionEasyCaseFunctorCentralDifferences
public void NumericDiffCostFunctionEasyCaseFunctorCentralDifferences()
-
NumericDiffCostFunctionEasyCaseFunctorForwardDifferences
public void NumericDiffCostFunctionEasyCaseFunctorForwardDifferences()
-
NumericDiffCostFunctionEasyCaseFunctorRidders
public void NumericDiffCostFunctionEasyCaseFunctorRidders()
-
NumericDiffCostFunctionEasyCaseCostFunctionCentralDifferences
public void NumericDiffCostFunctionEasyCaseCostFunctionCentralDifferences()
-
NumericDiffCostFunctionEasyCaseCostFunctionForwardDifferences
public void NumericDiffCostFunctionEasyCaseCostFunctionForwardDifferences()
-
NumericDiffCostFunctionEasyCaseCostFunctionRidders
public void NumericDiffCostFunctionEasyCaseCostFunctionRidders()
-
NumericDiffCostFunctionTranscendentalCaseFunctorCentralDifferences
public void NumericDiffCostFunctionTranscendentalCaseFunctorCentralDifferences()
-
NumericDiffCostFunctionTranscendentalCaseFunctorForwardDifferences
public void NumericDiffCostFunctionTranscendentalCaseFunctorForwardDifferences()
-
NumericDiffCostFunctionTranscendentalCaseFunctorRidders
public void NumericDiffCostFunctionTranscendentalCaseFunctorRidders()
-
NumericDiffCostFunctionTranscendentalCaseCostFunctionCentralDifferences
public void NumericDiffCostFunctionTranscendentalCaseCostFunctionCentralDifferences()
-
NumericDiffCostFunctionTranscendentalCaseCostFunctionForwardDifferences
public void NumericDiffCostFunctionTranscendentalCaseCostFunctionForwardDifferences()
-
NumericDiffCostFunctionTranscendentalCaseCostFunctionRidders
public void NumericDiffCostFunctionTranscendentalCaseCostFunctionRidders()
-
NumericDiffCostFunctionEigenRowMajorColMajorTest
public void NumericDiffCostFunctionEigenRowMajorColMajorTest()
-
NumericDiffCostFunctionEasyCaseFunctorCentralDifferencesAndDynamicNumResiduals
public void NumericDiffCostFunctionEasyCaseFunctorCentralDifferencesAndDynamicNumResiduals()
-
NumericDiffCostFunctionExponentialFunctorRidders
public void NumericDiffCostFunctionExponentialFunctorRidders()
-
NumericDiffCostFunctionExponentialCostFunctionRidders
public void NumericDiffCostFunctionExponentialCostFunctionRidders()
-
NumericDiffCostFunctionRandomizedFunctorRidders
public void NumericDiffCostFunctionRandomizedFunctorRidders()
-
NumericDiffCostFunctionRandomizedCostFunctionRidders
public void NumericDiffCostFunctionRandomizedCostFunctionRidders()
-
NumericDiffCostFunctionPartiallyFilledResidualShouldFailEvaluation
public void NumericDiffCostFunctionPartiallyFilledResidualShouldFailEvaluation()
-
Grid1DOneDataDimension
public void Grid1DOneDataDimension()
-
Grid1DOneDataDimensionOutOfBounds
public void Grid1DOneDataDimensionOutOfBounds()
-
Grid1DTwoDataDimensionIntegerDataInterleaved
public void Grid1DTwoDataDimensionIntegerDataInterleaved()
-
Grid1DTwoDataDimensionIntegerDataStacked
public void Grid1DTwoDataDimensionIntegerDataStacked()
-
Grid2DOneDataDimensionRowMajor
public void Grid2DOneDataDimensionRowMajor()
-
Grid2DOneDataDimensionRowMajorOutOfBounds
public void Grid2DOneDataDimensionRowMajorOutOfBounds()
-
Grid2DTwoDataDimensionRowMajorInterleaved
public void Grid2DTwoDataDimensionRowMajorInterleaved()
-
Grid2DTwoDataDimensionRowMajorStacked
public void Grid2DTwoDataDimensionRowMajorStacked()
-
Grid2DTwoDataDimensionColMajorInterleaved
public void Grid2DTwoDataDimensionColMajorInterleaved()
-
Grid2DTwoDataDimensionColMajorStacked
public void Grid2DTwoDataDimensionColMajorStacked()
-
RunPolynomialInterpolationTest
public void RunPolynomialInterpolationTest(int kDataDimension, double a, double b, double c, double d, java.lang.String testName, boolean[] passed)
-
CubicInterpolatorTestConstantFunction
public void CubicInterpolatorTestConstantFunction()
-
CubicInterpolatorTestLinearFunction
public void CubicInterpolatorTestLinearFunction()
-
CubicInterpolatorTestQuadraticFunction
public void CubicInterpolatorTestQuadraticFunction()
-
RunPolynomialInterpolationTest
public void RunPolynomialInterpolationTest(int kDataDimension, Jama.Matrix coeff, java.lang.String testName, boolean[] passed)
-
EvaluateF
public double EvaluateF(Jama.Matrix coeff_, double r, double c)
-
EvaluatedFdr
public double EvaluatedFdr(Jama.Matrix coeff_, double r, double c)
-
EvaluatedFdc
public double EvaluatedFdc(Jama.Matrix coeff_, double r, double c)
-
BiCubicInterpolatorTestZeroFunction
public void BiCubicInterpolatorTestZeroFunction()
-
BiCubicInterpolatorTestDegree00Function
public void BiCubicInterpolatorTestDegree00Function()
-
BiCubicInterpolatorTestDegree01Function
public void BiCubicInterpolatorTestDegree01Function()
-
BiCubicInterpolatorTestDegree10Function
public void BiCubicInterpolatorTestDegree10Function()
-
BiCubicInterpolatorTestDegree11Function
public void BiCubicInterpolatorTestDegree11Function()
-
BiCubicInterpolatorTestDegree12Function
public void BiCubicInterpolatorTestDegree12Function()
-
BiCubicInterpolatorTestDegree21Function
public void BiCubicInterpolatorTestDegree21Function()
-
BiCubicInterpolatorTestDegree22Function
public void BiCubicInterpolatorTestDegree22Function()
-
ComputeClustering
public void ComputeClustering()
-
CanonicalViewsTestComputeCanonicalViewsTest
public void CanonicalViewsTestComputeCanonicalViewsTest()
-
CanonicalViewsTestSizePenaltyTest
public void CanonicalViewsTestSizePenaltyTest()
-
CanonicalViewsTestViewScoreTest
public void CanonicalViewsTestViewScoreTest()
-
CanonicalViewsTestSimilarityPenaltyTest
public void CanonicalViewsTestSimilarityPenaltyTest()
-
BlockRandomAccessSparseMatrixGetCell
public void BlockRandomAccessSparseMatrixGetCell()
-
CheckIntPairToLong
public void CheckIntPairToLong(int a, int b, java.lang.String testName, boolean[] passed)
-
BlockRandomAccessSparseMatrixTestIntPairToLongOverflow
public void BlockRandomAccessSparseMatrixTestIntPairToLongOverflow()
-
CheckLongToIntPair
public void CheckLongToIntPair(java.lang.String testName, boolean[] passed)
-
BlockRandomAccessSparseMatrixTestLongToIntPair
public void BlockRandomAccessSparseMatrixTestLongToIntPair()
-
DenseLinearSolverTest1
public void DenseLinearSolverTest1()
-
DenseLinearSolverTest2
public void DenseLinearSolverTest2()
-
CostFunctionTestConditionedCostFunction
public void CostFunctionTestConditionedCostFunction()
-
BlockPermutationToScalarPermutation
public void BlockPermutationToScalarPermutation()
-
FillBlock
public void FillBlock(java.util.Vector<java.lang.Integer> row_blocks, java.util.Vector<java.lang.Integer> col_blocks, int row_block_id, int col_block_id, java.util.Vector<CeresSolver2.Triplet<java.lang.Integer,java.lang.Integer,java.lang.Double>> triplets)
-
ScalarMatrixToBlockMatrix
public void ScalarMatrixToBlockMatrix()
-
UpperTriangularSetUp
public void UpperTriangularSetUp(java.util.Vector<java.lang.Integer> rows, java.util.Vector<java.lang.Integer> cols, java.util.Vector<java.lang.Double> values)
-
SolveUpperTriangularTestSolveInPlace
public void SolveUpperTriangularTestSolveInPlace()
-
SolveUpperTriangularTestTransposeSolveInPlace
public void SolveUpperTriangularTestTransposeSolveInPlace()
-
SolveUpperTriangularTestRTRSolveWithSparseRHS
public void SolveUpperTriangularTestRTRSolveWithSparseRHS()
-
CompareMatrices
public void CompareMatrices(CeresSolver.SparseMatrix a, CeresSolver.SparseMatrix b, java.lang.String testName, boolean[] passed)
-
CompressedRowSparseMatrixSetUp
public void CompressedRowSparseMatrixSetUp(int[] num_rows, int[] num_cols)
-
CompressedRowSparseMatrixTestRightMultiply
public void CompressedRowSparseMatrixTestRightMultiply()
-
CompressedRowSparseMatrixTestLeftMultiply
public void CompressedRowSparseMatrixTestLeftMultiply()
-
CompressedRowSparseMatrixTestColumnNorm
public void CompressedRowSparseMatrixTestColumnNorm()
-
CompressedRowSparseMatrixTestScale
public void CompressedRowSparseMatrixTestScale()
-
CompressedRowSparseMatrixTestDeleteRows
public void CompressedRowSparseMatrixTestDeleteRows()
-
CompressedRowSparseMatrixTestAppendRows
public void CompressedRowSparseMatrixTestAppendRows()
-
CompressedRowSparseMatrixTestAppendAndDeleteBlockDiagonalMatrix
public void CompressedRowSparseMatrixTestAppendAndDeleteBlockDiagonalMatrix()
-
CompressedRowSparseMatrixTestToDenseMatrix
public void CompressedRowSparseMatrixTestToDenseMatrix()
-
CompressedRowSparseMatrixTestToCRSMatrix
public void CompressedRowSparseMatrixTestToCRSMatrix()
-
CompressedRowSparseMatrixCreateBlockDiagonalMatrix
public void CompressedRowSparseMatrixCreateBlockDiagonalMatrix()
-
CompressedRowSparseMatrixTranspose
public void CompressedRowSparseMatrixTranspose()
-
CompressedRowSparseMatrixFromTripletSparseMatrix
public void CompressedRowSparseMatrixFromTripletSparseMatrix()
-
CompressedRowSparseMatrixFromTripletSparseMatrixTransposed
public void CompressedRowSparseMatrixFromTripletSparseMatrixTransposed()
-
DynamicompressedRowSparseMatrixSetUp
public void DynamicompressedRowSparseMatrixSetUp()
-
Finalize
public void Finalize()
-
InitialiseDenseReference
public void InitialiseDenseReference()
-
InitialiseSparseMatrixReferences
public void InitialiseSparseMatrixReferences()
-
InsertNonZeroEntriesFromDenseReference
public void InsertNonZeroEntriesFromDenseReference()
-
ExpectEmpty
public void ExpectEmpty()
-
ExpectEqualToDenseReference
public void ExpectEqualToDenseReference()
-
ExpectEqualToCompressedRowSparseMatrixReference
public void ExpectEqualToCompressedRowSparseMatrixReference()
-
DynamicCompressedRowSparseMatrixTestInitialization
public void DynamicCompressedRowSparseMatrixTestInitialization()
-
DynamicCompressedRowSparseMatrixTestInsertEntryAndFinalize
public void DynamicCompressedRowSparseMatrixTestInsertEntryAndFinalize()
-
DynamicCompressedRowSparseMatrixTestClearRows
public void DynamicCompressedRowSparseMatrixTestClearRows()
-
DynamicNumericdiffCostFunctionTestTestResiduals
public void DynamicNumericdiffCostFunctionTestTestResiduals()
-
DynamicNumericdiffCostFunctionTestTestJacobian
public void DynamicNumericdiffCostFunctionTestTestJacobian()
-
DynamicNumericdiffCostFunctionTestJacobianWithFirstParameterBlockConstant
public void DynamicNumericdiffCostFunctionTestJacobianWithFirstParameterBlockConstant()
-
DynamicNumericdiffCostFunctionTestJacobianWithSecondParameterBlockConstant
public void DynamicNumericdiffCostFunctionTestJacobianWithSecondParameterBlockConstant()
-
ThreeParameterCostFunctorTestTestThreeParameterResiduals
public void ThreeParameterCostFunctorTestTestThreeParameterResiduals()
-
ThreeParameterCostFunctorTestTestThreeParameterJacobian
public void ThreeParameterCostFunctorTestTestThreeParameterJacobian()
-
ThreeParameterCostFunctorTestThreeParameterJacobianWithFirstAndLastParameterBlockConstant
public void ThreeParameterCostFunctorTestThreeParameterJacobianWithFirstAndLastParameterBlockConstant()
-
ThreeParameterCostFunctorTestThreeParameterJacobianWithSecondParameterBlockConstant
public void ThreeParameterCostFunctorTestThreeParameterJacobianWithSecondParameterBlockConstant()
-
CovarianceImplTestComputeCovarianceSparsity
public void CovarianceImplTestComputeCovarianceSparsity()
-
CovarianceImplTestComputeCovarianceSparsityWithConstantParameterBlock
public void CovarianceImplTestComputeCovarianceSparsityWithConstantParameterBlock()
-
CovarianceImplTestComputeCovarianceSparsityWithFreeParameterBlock
public void CovarianceImplTestComputeCovarianceSparsityWithFreeParameterBlock()
-
CovarianceSetUp
public void CovarianceSetUp()
-
ComputeAndCompareCovarianceBlocks
public void ComputeAndCompareCovarianceBlocks(CeresSolver2.CovarianceOptions options, double[] expected_covariance, boolean[] passed)
-
ComputeAndCompareCovarianceBlocksInTangentSpace
public void ComputeAndCompareCovarianceBlocksInTangentSpace(CeresSolver2.CovarianceOptions options, double[] expected_covariance, boolean[] passed)
-
ComputeAndCompareCovarianceBlocksInTangentOrAmbientSpace
public void ComputeAndCompareCovarianceBlocksInTangentOrAmbientSpace(CeresSolver2.CovarianceOptions options, boolean lift_covariance_to_ambient_space, double[] expected_covariance, boolean[] passed)
-
GetCovarianceBlockAndCompare
void GetCovarianceBlockAndCompare(double[] block1, double[] block2, boolean lift_covariance_to_ambient_space, CeresSolver2.CovarianceImpl covariance, double[] expected_covariance, boolean[] passed)
-
CovarianceTestNormalBehavior
public void CovarianceTestNormalBehavior()
-
CovarianceTestConstantParameterBlock
public void CovarianceTestConstantParameterBlock()
-
CovarianceTestLocalParameterization
public void CovarianceTestLocalParameterization()
-
CovarianceTestLocalParameterizationInTangentSpace
public void CovarianceTestLocalParameterizationInTangentSpace()
-
CovarianceTestLocalParameterizationInTangentSpaceWithConstantBlocks
public void CovarianceTestLocalParameterizationInTangentSpaceWithConstantBlocks()
-
CovarianceTestTruncatedRank
public void CovarianceTestTruncatedRank()
-
CovarianceTestDenseCovarianceMatrixFromSetOfParameters
public void CovarianceTestDenseCovarianceMatrixFromSetOfParameters()
-
CovarianceTestDenseCovarianceMatrixFromSetOfParametersInTangentSpace
public void CovarianceTestDenseCovarianceMatrixFromSetOfParametersInTangentSpace()
-
CovarianceTestComputeCovarianceFailure
public void CovarianceTestComputeCovarianceFailure()
-
RankDeficientCovarianceTestAutomaticTruncation
public void RankDeficientCovarianceTestAutomaticTruncation()
-
SingleLinkageClusteringGraphHasTwoComponents
public void SingleLinkageClusteringGraphHasTwoComponents()
-
SingleLinkageClusteringComponentWithWeakLink
public void SingleLinkageClusteringComponentWithWeakLink()
-
SingleLinkageClusteringComponentWithWeakLinkAndStrongLink
public void SingleLinkageClusteringComponentWithWeakLinkAndStrongLink()
-
IndependentSetOrderingChain
public void IndependentSetOrderingChain()
-
IndependentSetOrderingStar
public void IndependentSetOrderingStar()
-
Degree2MaximumSpanningForestPreserveWeights
public void Degree2MaximumSpanningForestPreserveWeights()
-
Degree2MaximumSpanningForestStarGraph
public void Degree2MaximumSpanningForestStarGraph()
-
VertexTotalOrderingTotalOrdering
public void VertexTotalOrderingTotalOrdering()
-
StableIndependentSetBreakTies
public void StableIndependentSetBreakTies()
-
CheckEvaluation
public void CheckEvaluation(CeresSolver.CostFunction cost_function, boolean is_good, java.lang.String cost_functionName, boolean[] passed)
-
ResidualBlockUtilsCheckAllCombinationsOfBadness
public void ResidualBlockUtilsCheckAllCombinationsOfBadness()
-
runPowellSingularJacobianFunction
public void runPowellSingularJacobianFunction()
-
runPowellSingularFunction
public void runPowellSingularFunction()
-
runFreudensteinAndRothFunction
public void runFreudensteinAndRothFunction()
-
runFreudensteinAndRothJacobianFunction
public void runFreudensteinAndRothJacobianFunction()
-
runPowellBadlyScaledFunction
public void runPowellBadlyScaledFunction()
-
runBrownBadlyScaledFunction
public void runBrownBadlyScaledFunction()
-
runBealeFunction
public void runBealeFunction()
-
runJennrichAndSampsonFunction
public void runJennrichAndSampsonFunction()
-
runHelicalValleyFunction
public void runHelicalValleyFunction()
-
runBardFunction
public void runBardFunction()
-
runGaussianFunction
public void runGaussianFunction()
-
runMeyerFunction
public void runMeyerFunction()
-
runGulfResearchAndDevelopmentFunction
public void runGulfResearchAndDevelopmentFunction()
-
runBox3DFunction
public void runBox3DFunction()
-
runWoodFunction
public void runWoodFunction()
-
runKowalikAndOsborneFunction
public void runKowalikAndOsborneFunction()
-
runBrownAndDennisFunction
public void runBrownAndDennisFunction()
-
runOsborne1Function
public void runOsborne1Function()
-
runBIGGS_EXP6Function
public void runBIGGS_EXP6Function()
-
runOsborne2Function
public void runOsborne2Function()
-
-