help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

questions regarding liboctave


From: Gorazd Brumen
Subject: questions regarding liboctave
Date: Tue, 05 Dec 2006 15:57:26 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061116)

Hi,

I have the following questions regarding liboctave:

1. Is there a method that computes the fft of a row or a column vector
and how is it called?


2. What is the most effective way to compute the scalar product of two
vectors?

3. Does the method append on the Matrix class append a column (row)
vector at the end of the matrix? What if I want to append a row
vector to another row vector or a col. vector to another col vector?
Do I have to transform things into matrices?



4. I have the following functions

float trans (ColumnVector z, float t, ColumnVector x, Cell params) {

  return tp (z - x, params(0) * t, params(1) * sqrt (t) );

}

float tp (ColumnVector x, ColumnVector mu, Matrix sigma) { // here
follows code }




I get from running the compiler:

rhs.cc: In function ‘float trans(ColumnVector, float, ColumnVector, Cell)’:
rhs.cc:101: error: conversion from ‘octave_value’ to non-scalar type
‘ColumnVector’ requested


What is wrong?


Please excuse me, I have not read ALL the documentation about the classes.

Gorazd


-- 
Gorazd Brumen
Mail: address@hidden
WWW: http://www.gorazdbrumen.net/
PGP: Key at http://pgp.mit.edu, ID BCC93240


reply via email to

[Prev in Thread] Current Thread [Next in Thread]