<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Make Code N-D Safe</title>
	<atom:link href="http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/</link>
	<description>Loren Shure works on design of the MATLAB language at MathWorks. She writes here about once a week on MATLAB programming and related topics.</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:19:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16307</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Fri, 06 Jul 2007 18:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16307</guid>
		<description>Jeremy-

You are right about size, of course.  But it is still possible that your code, if dependent on n for pre-allocation, for instance, will be incorrect for N-dimensional inputs.

Urs-

Thanks for the list.

--Loren</description>
		<content:encoded><![CDATA[<p>Jeremy-</p>
<p>You are right about size, of course.  But it is still possible that your code, if dependent on n for pre-allocation, for instance, will be incorrect for N-dimensional inputs.</p>
<p>Urs-</p>
<p>Thanks for the list.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urs (us) Schwarz</title>
		<link>http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16306</link>
		<dc:creator>Urs (us) Schwarz</dc:creator>
		<pubDate>Fri, 06 Jul 2007 16:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16306</guid>
		<description>there are a few helpers, which should not be discarded and often are very useful for preliminary error checking procedures
     help isempty
     help isscalar
     help isvector
     help ndims
us</description>
		<content:encoded><![CDATA[<p>there are a few helpers, which should not be discarded and often are very useful for preliminary error checking procedures<br />
     help isempty<br />
     help isscalar<br />
     help isvector<br />
     help ndims<br />
us</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16305</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Fri, 06 Jul 2007 16:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16305</guid>
		<description>I suppose matlab arrays aren&#039;t tensors.  However, has there been any discussion about implementing tensor algebra, or can it be done with dimension arguments?  For instance, in some circumstances, one might like to consider the column and row dimensions as both being 1 with a new argument to indicate dual space.</description>
		<content:encoded><![CDATA[<p>I suppose matlab arrays aren&#8217;t tensors.  However, has there been any discussion about implementing tensor algebra, or can it be done with dimension arguments?  For instance, in some circumstances, one might like to consider the column and row dimensions as both being 1 with a new argument to indicate dual space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16304</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Fri, 06 Jul 2007 16:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/loren/2007/07/06/make-code-n-d-safe/#comment-16304</guid>
		<description>Actually, if one calls &quot;[m,n] = size(input)&quot; where input has more than 2 dimensions, n is not a vector.  It is simply a product of the remaining dimension sizes.</description>
		<content:encoded><![CDATA[<p>Actually, if one calls &#8220;[m,n] = size(input)&#8221; where input has more than 2 dimensions, n is not a vector.  It is simply a product of the remaining dimension sizes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

