Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 1285bb3d authored by hhakim's avatar hhakim
Browse files

Mark poly modules as beta in pyfaust/matfaust doc.

parent bb4e6e03
No related branches found
No related tags found
No related merge requests found
Pipeline #833994 skipped
......@@ -89,7 +89,7 @@ function AinvB = invm_multiply(A, B, varargin)
b_ = eigs(B_, 1);
a = b-b_;
if(a <= 0)
error('A is a singular matrix or its spectrum contains negative values')
error('a <= 0, A is a singular matrix or its spectrum contains negative values')
end
m = (a + b) / 2;
c = (b - a) / (b + a);
......
% experimental block start
%> @package matfaust.poly @brief The matfaust module for polynomial basis as Faust objects.
%> @note This module is still in BETA status.
%======================================================================
%> @brief Computes the linear combination of the polynomials defined by basis.
......
......@@ -2,6 +2,7 @@
# @PYFAUST_LICENSE_HEADER@
## @package pyfaust.poly @brief The pyfaust module for polynomial basis as Faust objects.
## @note This module is still in BETA status.
import _FaustCorePy
import scipy.sparse as sp
......@@ -629,7 +630,7 @@ def invm_multiply(A, B, rel_err=1e-6, tradeoff='time', max_K=np.inf, dev='cpu',
b_ = eigsh(B_,1, return_eigenvectors=False)[0]
a = b-b_
if a <= 0:
raise Exception("A is a singular matrix or its spectrum contains"
raise Exception("a <= 0 error: A is a singular matrix or its spectrum contains"
" negative values.")
m = (a + b) /2
c = (b - a) / (b + a)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment