[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Signal Package Filter Design
From: |
Thomas D. Dean |
Subject: |
Re: Signal Package Filter Design |
Date: |
Sun, 3 Sep 2017 20:43:18 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 09/03/2017 03:24 PM, Mike Miller wrote:
On Sun, Sep 03, 2017 at 17:52:09 -0400, Doug Stewart wrote:
help remez
error: get_help_text:
/home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct:
failed to load:
/home/doug/octave/signal-1.3.2/x86_64-pc-linux-gnu-api-v51/remez.oct:
undefined symbol: _ZTIN6octave12chunk_bufferE
error: called from
help at line 95 column 18
This is a clear indication of the Octave API changing since you compiled
the function. You probably compiled this oct file with a different
version of Octave than you are now running.
If you're running Octave's default branch, you may periodically need to
reinstall packages as the API changes.
If you installed the package with Octave 4.2, then you definitely need
to reinstall to use it with Octave dev.
Wow! Huge number of warnings! Some of them are from remez.cc. The
version I downloaded from source did not present any warnings.
Tom Dean
octave:324> pkg uninstall signal
octave:325> pkg install -forge signal
In file included from sosfilt.cc:16:0:
/usr/local/include/octave-4.3.0+/octave/../octave/config.h:28:2:
warning: #warning "config.h has been deprecated; there is no need to
include it directly" [-Wcpp]
#warning "config.h has been deprecated; there is no need to include it
directly
^
In file included from upfirdn.cc:16:0:
/usr/local/include/octave-4.3.0+/octave/../octave/config.h:28:2:
warning: #warning "config.h has been deprecated; there is no need to
include it directly" [-Wcpp]
#warning "config.h has been deprecated; there is no need to include it
directly
^
In file included from sosfilt.cc:20:0:
/usr/local/include/octave-4.3.0+/octave/../octave/oct-obj.h:33:2:
warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp]
#warning oct-obj.h has been deprecated; use ovl.h instead
^
In file included from upfirdn.cc:20:0:
/usr/local/include/octave-4.3.0+/octave/../octave/oct-obj.h:33:2:
warning: #warning oct-obj.h has been deprecated; use ovl.h instead [-Wcpp]
#warning oct-obj.h has been deprecated; use ovl.h instead
^
medfilt1.cc: In function 'octave_value_list Fmedfilt1(const
octave_value_list&, int)':
medfilt1.cc:189:31: warning: 'bool octave_value::is_complex_type()
const' is deprecated: [4.4]: use 'iscomplex' instead
[-Wdeprecated-declarations]
if (args(0).is_complex_type())
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/ovl.h:36:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:33,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from medfilt1.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/ov.h:709:8: note:
declared here
bool is_complex_type (void) const
^
medfilt1.cc:196:50: warning: 'int NINT(double)' is deprecated: [4.2]:
use 'octave::math::nint' instead [-Wdeprecated-declarations]
if (nargin > 1) n = NINT(args(1).double_value());
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from medfilt1.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
inline int NINT (double x) { return octave::math::nint (x); }
^
sosfilt.cc: In function 'octave_value_list Fsosfilt(const
octave_value_list&, int)':
sosfilt.cc:55:45: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("sosfilt",args(0));
^
In file included from sosfilt.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
sosfilt.cc:69:45: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("sosfilt",args(1));
^
In file included from sosfilt.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
remez.cc: In function 'octave_value_list Fremez(const
octave_value_list&, int)':
remez.cc:787:45: warning: 'int NINT(double)' is deprecated: [4.2]: use
'octave::math::nint' instead [-Wdeprecated-declarations]
int numtaps = NINT (args(0).double_value()) + 1; // #coeff = filter
order+1
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
inline int NINT (double x) { return octave::math::nint (x); }
^
remez.cc:794:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
int numbands = o_bands.length()/2;
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
remez.cc:796:38: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
if (numbands < 1 || o_bands.length()%2 == 1) {
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
remez.cc:800:32: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
for (i=1; i < o_bands.length(); i++) {
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
remez.cc:814:25: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
if (o_response.length() != o_bands.length()) {
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
remez.cc:814:45: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
if (o_response.length() != o_bands.length()) {
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
remez.cc:829:27: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
if (o_weight.length() != numbands) {
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
remez.cc:844:44: warning: 'int NINT(double)' is deprecated: [4.2]: use
'octave::math::nint' instead [-Wdeprecated-declarations]
density = NINT(args(4).double_value());
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
inline int NINT (double x) { return octave::math::nint (x); }
^
remez.cc:853:44: warning: 'int NINT(double)' is deprecated: [4.2]: use
'octave::math::nint' instead [-Wdeprecated-declarations]
density = NINT(args(5).double_value());
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct-inttypes.h:35:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-inlines.cc:40,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MArray.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from remez.cc:24:
/usr/local/include/octave-4.3.0+/octave/../octave/lo-mappers.h:788:12:
note: declared here
inline int NINT (double x) { return octave::math::nint (x); }
^
upfirdn.cc: In function 'octave_value_list Fupfirdn(const
octave_value_list&, int)':
upfirdn.cc:108:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
gripe_wrong_type_arg ("upfirdn", args (1));
^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
upfirdn.cc:116:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
gripe_wrong_type_arg ("upfirdn", args (2));
^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
upfirdn.cc:124:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
gripe_wrong_type_arg ("upfirdn", args (3));
^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
upfirdn.cc:129:30: warning: 'bool octave_value::is_real_type() const' is
deprecated: [4.4]: use 'isreal' instead [-Wdeprecated-declarations]
if (args (0).is_real_type ())
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/ovl.h:36:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:33,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/ov.h:702:8: note:
declared here
bool is_real_type (void) const
^
upfirdn.cc:134:52: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
gripe_wrong_type_arg ("upfirdn", args (0));
^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
upfirdn.cc:141:38: warning: 'bool octave_value::is_complex_type() const'
is deprecated: [4.4]: use 'iscomplex' instead [-Wdeprecated-declarations]
else if (args (0).is_complex_type ())
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/ovl.h:36:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:33,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/ov.h:709:8: note:
declared here
bool is_complex_type (void) const
^
upfirdn.cc:146:52: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
gripe_wrong_type_arg ("upfirdn", args (0));
^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
upfirdn.cc:155:48: warning: 'void gripe_wrong_type_arg(const char*,
const octave_value&, bool)' is deprecated: [4.2]: use
'err_wrong_type_arg' or 'warn_wrong_type_arg' instead
[-Wdeprecated-declarations]
gripe_wrong_type_arg ("upfirdn", args (0));
^
In file included from upfirdn.cc:19:0:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
cl2bp.cc: In function 'octave_value_list Fcl2bp(const
octave_value_list&, int)':
cl2bp.cc:87:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("cl2bp", args (0));
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
cl2bp.cc:92:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("cl2bp", args (1));
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
cl2bp.cc:97:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("cl2bp", args (2));
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
cl2bp.cc:102:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("cl2bp", args (3));
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
cl2bp.cc:107:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("cl2bp", args (4));
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
cl2bp.cc:110:24: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
if (up_vector.length() != 3 || lo_vector.length() != 3) {
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
cl2bp.cc:110:51: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
if (up_vector.length() != 3 || lo_vector.length() != 3) {
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/Array-util.h:28:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MSparse.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/MatrixType.h:29,
from
/usr/local/include/octave-4.3.0+/octave/../octave/mx-base.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/Matrix.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:3,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
cl2bp.cc:124:43: warning: 'void gripe_wrong_type_arg(const char*, const
octave_value&, bool)' is deprecated: [4.2]: use 'err_wrong_type_arg' or
'warn_wrong_type_arg' instead [-Wdeprecated-declarations]
gripe_wrong_type_arg("cl2bp", args (5));
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/oct.h:36:0,
from cl2bp.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/gripes.h:180:1: note:
declared here
gripe_wrong_type_arg (const char *name, const octave_value& tc,
^
upfirdn.cc: In instantiation of 'MT upfirdn(MT&, ColumnVector&,
octave_idx_type, octave_idx_type) [with MT = Matrix; octave_idx_type =
long int]':
upfirdn.cc:138:37: required from here
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
octave_idx_type Lh = h.length ();
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
octave_idx_type Lh = h.length ();
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
upfirdn.cc: In instantiation of 'MT upfirdn(MT&, ColumnVector&,
octave_idx_type, octave_idx_type) [with MT = ComplexMatrix;
octave_idx_type = long int]':
upfirdn.cc:150:44: required from here
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
octave_idx_type Lh = h.length ();
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
upfirdn.cc:40:33: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave_idx_type = long int]' is deprecated: [4.4]: use
'numel' instead [-Wdeprecated-declarations]
octave_idx_type Lh = h.length ();
^
In file included from
/usr/local/include/octave-4.3.0+/octave/../octave/str-vec.h:32:0,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-fcn.h:31,
from
/usr/local/include/octave-4.3.0+/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.3.0+/octave/../octave/defun-dld.h:32,
from upfirdn.cc:17:
/usr/local/include/octave-4.3.0+/octave/../octave/Array.h:357:19: note:
declared here
octave_idx_type length (void) const { return numel (); }
^
For information about changes from previous versions of the signal
package, run 'news signal'.