Re: [Jprogramming] Matrix of functions

2020-12-18 Thread Francesco Pedulla'
Thanks to all who presented their ideas on how to address this issue with J. As usual, I learn a lot from the users of this Forum! F. On Fri, Dec 18, 2020 at 8:58 AM Francesco Pedulla' wrote: > Dear all, > I need to represent the 2D rotation matrix 'R' > > R = |cos(t

Re: [Jprogramming] Matrix of functions

2020-12-18 Thread Francesco Pedulla'
mple: >R"0(0 30p1 45p1 60p1%180) >1 0 >0 1 > > 0.866025 _0.5 > 0.5 0.866025 > > 0.707107 _0.707107 > 0.707107 0.707107 > > 0.5 _0.866025 > 0.866025 0.5 > > FYI, > > -- > Raul > >

Re: [Jprogramming] Matrix of functions

2020-12-18 Thread Francesco Pedulla'
((cos , -@sin) ,: sin , cos) > > R 1r6p1 > > 0.866025 _0.5 > > 0.5 0.866025 > > > Ben > > On Fri, 18 Dec 2020 at 18:59, Francesco Pedulla' wrote: > > > Dear all, > > I need to represent the 2D rotation matrix 'R' > > > > R = |

[Jprogramming] Matrix of functions

2020-12-17 Thread Francesco Pedulla'
Dear all, I need to represent the 2D rotation matrix 'R' R = |cos(t) -sin(t)| |sin(t) cos(t)| and compute it for different values of the rotation angle 't'. I am aware the matrix of function can be represented as a gerund, which I like: R =: 2 2$cos`(-@sin)`sin`cos . To compute R(t),

Re: [Jprogramming] mySQL connection error

2019-04-01 Thread Francesco Pedulla'
> > On Mon, Apr 1, 2019 at 6:40 AM bill lam wrote: > > > I guess some client driver missing Anyways, this addon has not been > > maintained for several years. You better download the data/odbc addons. > It > > should also work with mysql if you have installed

[Jprogramming] mySQL connection error

2019-04-01 Thread Francesco Pedulla'
Dear all, this is the first time I try to connect the J interpreter to an external RDBMS, so it is likely I'm doing something wrong - unfortunately, I cannot tell what... The PC I am using runs Windows 7 Enterprise SP1. The intepreter version is J806. The RDBMS is mySQL 5.7, which I can easily con

[Jprogramming] Bug or feature in Power conjunction?

2014-04-22 Thread Francesco Pedulla'
Hello everybody, I am using J801 under Ubuntu. Here is a behaviour I do not understand: mat=:i.2 3 r90=:|."1@:|:"2 r90^:0 mat 0 1 2 3 4 5 r90^:1 mat 3 0 4 1 5 2 r90^:2 mat 5 4 3 2 1 0 So far, so good. But: r90^:(i.3) mat 0 1 2 3 4 5 0 0 0 3 0 0 4 1 0 5 2 0 5 4 3 2 1 0 0 0 0