Hello Guilers,
The first release candidate of the upcoming GNU G-Golf 0.8.0 release is
now available for testing:
* Tarball and a GPG detached signature [*]:
http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc-1.tar.gz
http://ftp.gnu.org/gnu/g-golf/g-golf-0.8.0-rc-1.tar.gz.sig
* Insta
in maths there is a "philosophical" difference between a vector and
column-matrix.
for simplicity in my code i prefer to be able to multiply matrix and
vector directly as vector is a predefined type in scheme, not
matrix.And get as result a vector too.
but of course the solution is to convert the
On Fri, Oct 06, 2023 at 07:23:10PM +0200, Damien Mattei wrote:
> and the rest of code for multiplying a matrix and a vector:
[...]
I haven't looked at all the details, but... isn't multiplying a
matrix with a vector just a special case of matrix multiplication?
Cheers
--
t
signature.asc
Desc
and the rest of code for multiplying a matrix and a vector:
(define (vector->matrix-column v)
(matrix (vector-map (lambda (i x)
(make-vector 1 x))
v)))
(define (matrix-column->vector Mc)
{v <+ (matrix-v Mc)}
(vector-map (lambda (i v2) {v2[0]})
v))
;; sch
On Fri, Oct 06, 2023 at 09:14:50AM +0200, Damien Mattei wrote:
> On Thu, Oct 5, 2023 at 9:35 AM wrote:
>
> > I don't know whether it is TRT, but you might try wrapping your
> > define form in (eval-when (compile) ...) or similar.
> i tried this:
> (eval-when (compile) (define scheme-plus-path
> "
On Thu, Oct 5, 2023 at 9:35 AM wrote:
> I don't know whether it is TRT, but you might try wrapping your
> define form in (eval-when (compile) ...) or similar.
i tried this:
(eval-when (compile) (define scheme-plus-path
"/Users/mattei/Dropbox/git/Scheme-PLUS-for-Guile"))
(include (string-append s