<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.zcubes.com/index.php?action=history&amp;feed=atom&amp;title=Manuals%2Fcalci%2FMATRIXMOD</id>
	<title>Manuals/calci/MATRIXMOD - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.zcubes.com/index.php?action=history&amp;feed=atom&amp;title=Manuals%2Fcalci%2FMATRIXMOD"/>
	<link rel="alternate" type="text/html" href="http://wiki.zcubes.com/index.php?title=Manuals/calci/MATRIXMOD&amp;action=history"/>
	<updated>2026-04-28T11:50:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://wiki.zcubes.com/index.php?title=Manuals/calci/MATRIXMOD&amp;diff=211997&amp;oldid=prev</id>
		<title>Devika: /* Examples */</title>
		<link rel="alternate" type="text/html" href="http://wiki.zcubes.com/index.php?title=Manuals/calci/MATRIXMOD&amp;diff=211997&amp;oldid=prev"/>
		<updated>2019-04-15T19:50:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:50, 15 April 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 5 || 12 || 8&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 5 || 12 || 8&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Related Videos==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{#ev:youtube|v=oTJ7R2ziR28&amp;amp;t=2s|280|center|Matrix Division}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See Also==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==See Also==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Devika</name></author>
	</entry>
	<entry>
		<id>http://wiki.zcubes.com/index.php?title=Manuals/calci/MATRIXMOD&amp;diff=208504&amp;oldid=prev</id>
		<title>Devika: Created page with &quot;&lt;div style=&quot;font-size:30px&quot;&gt;'''MATRIXMOD (a,b,ConsiderUnits)'''&lt;/div&gt;&lt;br/&gt; *&lt;math&gt;a&lt;/math&gt; and &lt;math&gt;b&lt;/math&gt; are any two matrices.  ==Description== *This function gives the r...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.zcubes.com/index.php?title=Manuals/calci/MATRIXMOD&amp;diff=208504&amp;oldid=prev"/>
		<updated>2017-06-20T23:14:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;div style=&amp;quot;font-size:30px&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;MATRIXMOD (a,b,ConsiderUnits)&amp;#039;&amp;#039;&amp;#039;&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt; *&amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; are any two matrices.  ==Description== *This function gives the r...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;font-size:30px&amp;quot;&amp;gt;'''MATRIXMOD (a,b,ConsiderUnits)'''&amp;lt;/div&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; are any two matrices.&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
*This function gives the remainder of the number after dividing each entries of two matrices.&lt;br /&gt;
*In &amp;lt;math&amp;gt;MATRIXMOD(a,b)&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; are two matrices.&lt;br /&gt;
*Normally we could not do the matrix division directly.Instead of that we can multiply by an inverse.&lt;br /&gt;
*This function is taking corresponding entries and doing the division for each element.&lt;br /&gt;
*When we divide two integers we will get the result as :X/Y=Q with remainder R.&lt;br /&gt;
*Here X is the dividend, Y is the divisor, Q is the Quotient and R is the remainder.&lt;br /&gt;
*So MOD(n,d)=R.So here each entries in the first matrix is divided by the second matrix and it is displaying only the remainder value.&lt;br /&gt;
*Also the dimension of the both matrices should be the same.&lt;br /&gt;
*Suppose the entries either row or column are more in the first matrix compared with the second matrix then those extra entries will display as NaN.&lt;br /&gt;
*Suppose the entries are more in the second matrix compared with the first matrix then those extra entries will be ignored.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
1. MATRIXMOD([[12,25],[30,83]],[[3,4],[7,8]])&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| 0 || 1 &lt;br /&gt;
|-&lt;br /&gt;
| 2 || 3&lt;br /&gt;
|}&lt;br /&gt;
2. MATRIXMOD([[14,13,19],[23,26,78]],[[3,8,5],[6,14,10]])&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 5 || 4 &lt;br /&gt;
|-&lt;br /&gt;
| 5 || 12 || 8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Manuals/calci/MATRIXDIVIDE| MATRIXDIVIDE]]&lt;br /&gt;
*[[Manuals/calci/MATRIXOPERATORS| MATRIXOPERATORS]]&lt;br /&gt;
*[[Manuals/calci/MATRIXMULTIPLY| MATRIXMULTIPLY]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
[http://en.wikipedia.org/wiki/Modulo_operation Mod]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Z_API_Functions | List of Main Z Functions]]&lt;br /&gt;
*[[ Z3 |   Z3 home ]]&lt;/div&gt;</summary>
		<author><name>Devika</name></author>
	</entry>
</feed>