Is there a way to define xmat*{M}{n}{m} in the physics package Announcing the arrival of...
Will the Antimagic Field spell cause elementals not summoned by magic to dissipate?
Does using the Inspiration rules for character defects encourage My Guy Syndrome?
How to keep bees out of canned beverages?
Putting Ant-Man on house arrest
Why doesn't the university give past final exams' answers?
Proving inequality for positive definite matrix
Protagonist's race is hidden - should I reveal it?
Why do C and C++ allow the expression (int) + 4*5?
Does the Pact of the Blade warlock feature allow me to customize the properties of the pact weapon I create?
What is the difference between 准时 and 按时?
Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?
Can I take recommendation from someone I met at a conference?
Compiling and throwing simple dynamic exceptions at runtime for JVM
How to break 信じようとしていただけかも知れない into separate parts?
tabularx column has extra padding at right?
What is the ongoing value of the Kanban board to the developers as opposed to management
How to produce a PS1 prompt in bash or ksh93 similar to tcsh
2 sample t test for sample sizes - 30,000 and 150,000
Assertions In A Mock Callout Test
How to make an animal which can only breed for a certain number of generations?
Why do people think Winterfell crypts is the safest place for women, children & old people?
Is my guitar’s action too high?
What could prevent concentrated local exploration?
Who's this lady in the war room?
Is there a way to define xmat*{M}{n}{m} in the physics package
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Left sided subscript with mel of physics packagePhysics package causes partial differential to show smaller than other differential termParticle Physics weight diagram in LaTeX Help!Is there a way to use xmat* in the physics package to use upper indices?Redefining “physics” package vector differential operatorsUnable to include the physics packagephysics and braket packages with different braket commandsHow to fix the spacing before starred commands from physics packageAlternatives to the physics packagePhysics replacement effort
As titled, I want the commandmqty*{M}{n}{m}
to generate a matrix like this:
$$
begin{pmatrix}
M_{ 11 } & M_{ 12 } & M_{ 13 } & cdots & M_{ 1m } \
M_{ 21 } & M_{ 22 } & M_{ 23 } & cdots & M_{ 2m } \
M_{ 31 } & M_{ 32 } & M_{ 33 } & cdots & M_{ 3m } \
vdots & vdots & vdots & ddots & vdots \
M_{ n1 } & M_{ n2 } & M_{ n3 } & cdots & M_{ nm } \
end{pmatrix}
$$
Also, I want this command to be applicable to finite column or row vectors (if this can also be used for matrices/vectors with infinite order would be even better) as well. (e.g. xmat*{v}{n}{1}
, xmat*{M}{5}{n}
) Do I have to create a new command for every document or is there other ways to achieve this?
Thank you
physics
New contributor
add a comment |
As titled, I want the commandmqty*{M}{n}{m}
to generate a matrix like this:
$$
begin{pmatrix}
M_{ 11 } & M_{ 12 } & M_{ 13 } & cdots & M_{ 1m } \
M_{ 21 } & M_{ 22 } & M_{ 23 } & cdots & M_{ 2m } \
M_{ 31 } & M_{ 32 } & M_{ 33 } & cdots & M_{ 3m } \
vdots & vdots & vdots & ddots & vdots \
M_{ n1 } & M_{ n2 } & M_{ n3 } & cdots & M_{ nm } \
end{pmatrix}
$$
Also, I want this command to be applicable to finite column or row vectors (if this can also be used for matrices/vectors with infinite order would be even better) as well. (e.g. xmat*{v}{n}{1}
, xmat*{M}{5}{n}
) Do I have to create a new command for every document or is there other ways to achieve this?
Thank you
physics
New contributor
add a comment |
As titled, I want the commandmqty*{M}{n}{m}
to generate a matrix like this:
$$
begin{pmatrix}
M_{ 11 } & M_{ 12 } & M_{ 13 } & cdots & M_{ 1m } \
M_{ 21 } & M_{ 22 } & M_{ 23 } & cdots & M_{ 2m } \
M_{ 31 } & M_{ 32 } & M_{ 33 } & cdots & M_{ 3m } \
vdots & vdots & vdots & ddots & vdots \
M_{ n1 } & M_{ n2 } & M_{ n3 } & cdots & M_{ nm } \
end{pmatrix}
$$
Also, I want this command to be applicable to finite column or row vectors (if this can also be used for matrices/vectors with infinite order would be even better) as well. (e.g. xmat*{v}{n}{1}
, xmat*{M}{5}{n}
) Do I have to create a new command for every document or is there other ways to achieve this?
Thank you
physics
New contributor
As titled, I want the commandmqty*{M}{n}{m}
to generate a matrix like this:
$$
begin{pmatrix}
M_{ 11 } & M_{ 12 } & M_{ 13 } & cdots & M_{ 1m } \
M_{ 21 } & M_{ 22 } & M_{ 23 } & cdots & M_{ 2m } \
M_{ 31 } & M_{ 32 } & M_{ 33 } & cdots & M_{ 3m } \
vdots & vdots & vdots & ddots & vdots \
M_{ n1 } & M_{ n2 } & M_{ n3 } & cdots & M_{ nm } \
end{pmatrix}
$$
Also, I want this command to be applicable to finite column or row vectors (if this can also be used for matrices/vectors with infinite order would be even better) as well. (e.g. xmat*{v}{n}{1}
, xmat*{M}{5}{n}
) Do I have to create a new command for every document or is there other ways to achieve this?
Thank you
physics
physics
New contributor
New contributor
edited 2 mins ago
Frank Wang
New contributor
asked 7 mins ago
Frank WangFrank Wang
1
1
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Frank Wang is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486154%2fis-there-a-way-to-define-xmatmnm-in-the-physics-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Frank Wang is a new contributor. Be nice, and check out our Code of Conduct.
Frank Wang is a new contributor. Be nice, and check out our Code of Conduct.
Frank Wang is a new contributor. Be nice, and check out our Code of Conduct.
Frank Wang is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486154%2fis-there-a-way-to-define-xmatmnm-in-the-physics-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown