The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Defining a function with vectors
09-23-2023, 11:26 PM
Post: #1
Defining a function with vectors
I'm trying to define a function to calculate the cross product of two vectors

cross([A,B,C],[C,B,A]) I give it the name cp

when I define it all that happens is it replaces A,B,C with some number values and the tick boxes to show that it accepts and recognises A,B,C as variable arguments do not show up.

Other definitions like sin(A+B/C*D) work as expected and can be used in the CAS screen.

any help is appreciated as I'm doing lots of vector work lately and looking for shortcuts.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Defining a function with vectors - Quadratica - 09-23-2023 11:26 PM



User(s) browsing this thread: 2 Guest(s)