Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Making a square matrix from two vector
Replies: 22   Last Post: Mar 19, 2013 12:37 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bruno Luong

Posts: 8,802
Registered: 7/26/08
Re: Making a square matrix from two vector
Posted: Feb 13, 2013 2:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <none@non.net> wrote in message <kfelra$b4d$1@speranza.aioe.org>...
> On 2/12/2013 5:14 PM, Bruno Luong wrote:
> > dpb <none@non.net> wrote in message <kfefok$qn7$1@speranza.aioe.org>...
> >> On 2/12/2013 3:35 PM, Bruno Luong wrote:
> >
> >>
> >> Why would anyone write such, anyway, and expect anything meaningful?

> >
> > What is "meaningful"?
> >

>
> What do you think
>
> 1i:10-2i
>
> should do?


I'm fine if it does exactly like currently. I link to a post where the behavior is described. I never complain about it, excepted that the behavior is currently not documented.

>
> Now, I can see there could argued to be a syntax for complex series
> sequence generation, but it would need a complex delta...the previous
> doesn't have any apparent difference that corresponds at all to the
> implied unit difference of real colon inputs.
>
> And, while it indeed was once a novel concept for complex variables,
> it's now been quite some time... :)
>
> I was, however, speaking in terms of defined ML syntax, not hypothetical.


If one wants to develop a function that accept any kind of numerical data, the behavior should be defined. So it is legitimate to speak how colon behave when feed in complex data. That's how a specification of a function is defined and developed. This is the basic concept of software development.

Now if user can't make head or tail with the behavior of such and such function, that's his problem.

Recently I use the fact that ([]:1) return an empty set, therefore allow me to save 1 test in my implementation. Is it meaningless?

Bruno



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.