Ronan

1341 Reputation

15 Badges

13 years, 140 days
East Grinstead, United Kingdom

MaplePrimes Activity


These are replies submitted by Ronan

@mmcdara Oh Good.. The download from Google Docs worked for me.  Interesting post.

@Carl Love Thank you. That I didn't think of trying.

It turns out that Dotproduct, BilinearForm and CrossProduct work for 1 x 3 and 3 x 1 Matrices. The help pages don't mention this,
with the CrossProduct this usage <CrossProduct(A,B)> returns matrix format/type.

 

ProjCp:=overload([

proc(a::Matrix(1,3),b::Matrix(1,3))
option overload;
description "join of points";
uses LinearAlgebra;
local A:=a,B:=b;
print("line thro' points");
<CrossProduct(A,B)>^%T;
end proc,

proc(a::Matrix(3,1),b::Matrix(3,1))
option overload;
description "meet of lines";
uses LinearAlgebra;
local A:=a,B:=b;
print("intersect point");
<CrossProduct(A,B)>^%T;
end proc,

proc(A::{Matrix(1,3),Matrix(3,1)},B::{Matrix(1,3),Matrix(3,1)})
option overload;
description "incidence of point and line";
uses LinearAlgebra;
local dp;
if type(A,'Matrix'(1,3))and type(B,'Matrix'(3,1))   then 
dp:=DotProduct(A,B,conjugate=false);
elif type(A,'Matrix'(3,1))and type(B,'Matrix'(1,3)) then
dp:=DotProduct(A,B,conjugate=false);
end if;
print("if = 0 coincident");
return dp
end proc,

proc(A::{Matrix(1,3),list})
option overload;
description "convert to/from cartesian";
if type(A,'Matrix'(1,3)) and A[1,3]<>0 then
[A[1,1]/A[1,3],A[1,2]/A[1,3]];
elif A::list then
<<A[1]|A[2]|1>>;
end if;
end proc,

proc(A::{Matrix(3,1)},{vars:=[x,y]})
option overload;
description "convert line vecor to expression";
A[1,1]*vars[1]+A[2,1]*vars[2]=-A[3,1];
end proc

]):

 

@Carl Love In Maple 2024.1 it is not working. Produces the same output as above. Works in 2023.2. Could you verify this please. 

I am using Windows 10.

Edit. Found a bug I think. If input is set to 2D mode the Isee works. If set to Maple Notation not workink.

I will investigate this later tonight.

Edit2:-The problem is purely dependant on Text or Math input. So not a big problem. I wonder what else that affects though?

@C_R Are you using a laptopr or desktop pc? I am not using a PC and sleep, it is set to never, hibernation is disabled. Only the screen goes off after 15min. So I haven't seen this particular problem. The PC is a 7th generation i7 from 2017.

@nm Yes that is basically what I meant.

@nm This is just a couple of ideas. Which monitor does windows have specified as the primary one? Thy swapping an that. Also if the graphinc card has another port try that too.

There are installation instructions on the site "Installation Instructions" by Ian M. Anderson and Charles G. Torre (usu.edu)

Failing that contact them the support link is in the left hand column.

Upload a worksheet or document. That command is useless on it's own.

@Rouben Rostamian  Very good. Maybe it is one of those situations where one needs to know the the format. Well I shall keep in mind your approach. It is simple.

@C_R It worked for me last night. Try removing the  `  ` from around the gamma. Also I have the Typesetting package loaded. 

Edit you brackets might be incorrect try this.

typeset(Typeset(`gamma2`),"\n" )

@acer I did not know or think of you combination of   typeset(Typeset(thename),"\n").That is nice and simple. I only have bits and pieces of data ( vague knowledge). I was only using the Typesetting pagkage to try and get around my problem. 

@C_R  Very interesting. I will experiment with that. I actually have some symbols for vectors setup that I copy paste in the 2D math format into the 1D

@acer The basic problem is I called the assignment name gamma2 :=<2|3|1> (a projective point). I can just change the name to gamma02. So then I can use typeset( gamma2,"\n") to get the nice symbol as I would usually do.

@C_R That works. Can you refere me to some help on this? Searching for  mo and mover don't seem to find much.

3 4 5 6 7 8 9 Last Page 5 of 32