-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as.orthogonal function error #20
Comments
onion version 1.5-0:
as.orthogonal(rquat(1))
[,1] [,2] [,3]
[1,] -0.2519797 -0.38107978 -0.8895417
[2,] -0.1238721 0.92434173 -0.3608990
[3,] 0.9597718 0.01925015 -0.2801205
I strongly suspect that you didn't load the package correctly as the print
method was not invoked in the snippet you sent.
Robin
***@***.***>
…On Sat, Apr 30, 2022 at 2:31 AM MamtaMohan ***@***.***> wrote:
Hi,
I am using onion package to generate set orthogonal matrices from
quaternions.
I tried to convert a quaternion to an equivalent orthogonal matrix.
It gave me an error: Error in Re(q1) : non-numeric argument to function
I tried following sequence:
q1 <- rquat(1)
q1
An object of class "quaternion"
Slot "x":
[,1]
Re -0.7134218
i -1.0694264
j -1.4381244
k -0.6852207
as.orthogonal(q1)
Error in Re(Q) : non-numeric argument to function
I tried example as mention in documentation as well. It also gave me an
error.
as.orthogonal(rquat(q1))
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'z' in selecting a method for function
'Norm': error in evaluating the argument 'data' in selecting a method for
function 'matrix': invalid arguments.
I would appreciate your response.
Mamta
—
Reply to this email directly, view it on GitHub
<#20>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFFZUVE3PAJR4IXWMKHAMLVHPXDXANCNFSM5UWGZ2LA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thank you.
That was the problem.
Mamta
________________________________
From: Robin Hankin ***@***.***>
Sent: Saturday, April 30, 2022 1:10 AM
To: RobinHankin/onion ***@***.***>
Cc: Mohan, Mamta ***@***.***>; Author ***@***.***>
Subject: Re: [RobinHankin/onion] as.orthogonal function error (Issue #20)
onion version 1.5-0:
as.orthogonal(rquat(1))
[,1] [,2] [,3]
[1,] -0.2519797 -0.38107978 -0.8895417
[2,] -0.1238721 0.92434173 -0.3608990
[3,] 0.9597718 0.01925015 -0.2801205
I strongly suspect that you didn't load the package correctly as the print
method was not invoked in the snippet you sent.
Robin
***@***.***>
On Sat, Apr 30, 2022 at 2:31 AM MamtaMohan ***@***.***> wrote:
Hi,
I am using onion package to generate set orthogonal matrices from
quaternions.
I tried to convert a quaternion to an equivalent orthogonal matrix.
It gave me an error: Error in Re(q1) : non-numeric argument to function
I tried following sequence:
q1 <- rquat(1)
q1
An object of class "quaternion"
Slot "x":
[,1]
Re -0.7134218
i -1.0694264
j -1.4381244
k -0.6852207
as.orthogonal(q1)
Error in Re(Q) : non-numeric argument to function
I tried example as mention in documentation as well. It also gave me an
error.
as.orthogonal(rquat(q1))
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'z' in selecting a method for function
'Norm': error in evaluating the argument 'data' in selecting a method for
function 'matrix': invalid arguments.
I would appreciate your response.
Mamta
—
Reply to this email directly, view it on GitHub
<#20>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADFFZUVE3PAJR4IXWMKHAMLVHPXDXANCNFSM5UWGZ2LA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—
Reply to this email directly, view it on GitHub<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FRobinHankin%2Fonion%2Fissues%2F20%23issuecomment-1113919315&data=05%7C01%7Cm.mohan%40northeastern.edu%7Cc694aa0bf46d4af3bec808da2a67c320%7Ca8eec281aaa34daeac9b9a398b9215e7%7C0%7C0%7C637868922423819881%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0hPii6%2FHvzDrqPTmiPdvlmQDtU%2Fg2TP5AxtunVuQbY0%3D&reserved=0>, or unsubscribe<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD3RZ7OW5EYWB2OEDIRM7ADVHS6EZANCNFSM5UWGZ2LA&data=05%7C01%7Cm.mohan%40northeastern.edu%7Cc694aa0bf46d4af3bec808da2a67c320%7Ca8eec281aaa34daeac9b9a398b9215e7%7C0%7C0%7C637868922423976126%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UBQOKTTfodKtbg1JUoJsKv2GwUBEFC%2FN%2BjqEb8uvV34%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am using onion package to generate set orthogonal matrices from quaternions.
I tried to convert a quaternion to an equivalent orthogonal matrix.
It gave me an error: Error in Re(q1) : non-numeric argument to function
I tried following sequence:
I tried example as mention in documentation as well. It also gave me an error.
I would appreciate your response.
Mamta
The text was updated successfully, but these errors were encountered: