mlpack
Functions
lin_alg_test.cpp File Reference
#include <mlpack/core.hpp>
#include <mlpack/core/math/lin_alg.hpp>
#include "catch.hpp"
#include "test_catch_tools.hpp"
Include dependency graph for lin_alg_test.cpp:

Functions

 TEST_CASE ("TestCenterA", "[LinAlgTest]")
 Test for linalg__private::Center(). More...
 
 TEST_CASE ("TestCenterB", "[LinAlgTest]")
 
 TEST_CASE ("TestOrthogonalize", "[LinAlgTest]")
 
 TEST_CASE ("TestRemoveRows", "[LinAlgTest]")
 
 TEST_CASE ("TestSvecSmat", "[LinAlgTest]")
 
 TEST_CASE ("TestSparseSvec", "[LinAlgTest]")
 
 TEST_CASE ("TestSymKronIdSimple", "[LinAlgTest]")
 
 TEST_CASE ("TestSymKronId", "[LinAlgTest]")
 

Detailed Description

Author
Ryan Curtin

Simple tests for things in the linalg__private namespace. Partly so I can be sure that my changes are working. Move to boost unit testing framework at some point.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Function Documentation

◆ TEST_CASE()

TEST_CASE ( "TestCenterA"  ,
""  [LinAlgTest] 
)

Test for linalg__private::Center().

There are no edge cases here, so we'll just try it once for now.