Tensor operations











up vote
1
down vote

favorite












I'm trying to do some scientific programming, but I have limited math experience. My supervisor has given me the following equation I need to solve for $d$:
$$
Y = Xe^{-bcdot d}.
$$

where





  • $X$ and $Y$ are $96 times 96$ matrices,

  • and $b$ and $d$ are $3times 3$ matrices (the '$cdot$' sing above signifies dot product).


I'm not even sure how I would go about trying to solve for $d$. It doesn't seem to make sense to rearrange the equation above to
$$
d = mathrm{inv}(b) ln(X/Y),
$$

since (1) I'm not sure how dot product works with tensors (do I need to learn dyadic algebra to do this???), but I didn't think you could just do $mathrm{inv}(b)(bcdot d)$. And how are you supposed to end up with a $3times 3$ matrix if you're multiplying a $3times 3$ matrix by a $96times 96$ one?



If anyone could please give suggest some resources or give me some direction, I would be sincerely appreciative, and thank you for your time.










share|cite|improve this question









New contributor




Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Perhaps the notation $(bcdot d)$ is meant to denote the scalar product of the two matrices, i.e. $$bcdot d = sum_{ij} b_{ij}d_{ij}$$
    – greg
    Nov 15 at 17:40

















up vote
1
down vote

favorite












I'm trying to do some scientific programming, but I have limited math experience. My supervisor has given me the following equation I need to solve for $d$:
$$
Y = Xe^{-bcdot d}.
$$

where





  • $X$ and $Y$ are $96 times 96$ matrices,

  • and $b$ and $d$ are $3times 3$ matrices (the '$cdot$' sing above signifies dot product).


I'm not even sure how I would go about trying to solve for $d$. It doesn't seem to make sense to rearrange the equation above to
$$
d = mathrm{inv}(b) ln(X/Y),
$$

since (1) I'm not sure how dot product works with tensors (do I need to learn dyadic algebra to do this???), but I didn't think you could just do $mathrm{inv}(b)(bcdot d)$. And how are you supposed to end up with a $3times 3$ matrix if you're multiplying a $3times 3$ matrix by a $96times 96$ one?



If anyone could please give suggest some resources or give me some direction, I would be sincerely appreciative, and thank you for your time.










share|cite|improve this question









New contributor




Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Perhaps the notation $(bcdot d)$ is meant to denote the scalar product of the two matrices, i.e. $$bcdot d = sum_{ij} b_{ij}d_{ij}$$
    – greg
    Nov 15 at 17:40















up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm trying to do some scientific programming, but I have limited math experience. My supervisor has given me the following equation I need to solve for $d$:
$$
Y = Xe^{-bcdot d}.
$$

where





  • $X$ and $Y$ are $96 times 96$ matrices,

  • and $b$ and $d$ are $3times 3$ matrices (the '$cdot$' sing above signifies dot product).


I'm not even sure how I would go about trying to solve for $d$. It doesn't seem to make sense to rearrange the equation above to
$$
d = mathrm{inv}(b) ln(X/Y),
$$

since (1) I'm not sure how dot product works with tensors (do I need to learn dyadic algebra to do this???), but I didn't think you could just do $mathrm{inv}(b)(bcdot d)$. And how are you supposed to end up with a $3times 3$ matrix if you're multiplying a $3times 3$ matrix by a $96times 96$ one?



If anyone could please give suggest some resources or give me some direction, I would be sincerely appreciative, and thank you for your time.










share|cite|improve this question









New contributor




Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm trying to do some scientific programming, but I have limited math experience. My supervisor has given me the following equation I need to solve for $d$:
$$
Y = Xe^{-bcdot d}.
$$

where





  • $X$ and $Y$ are $96 times 96$ matrices,

  • and $b$ and $d$ are $3times 3$ matrices (the '$cdot$' sing above signifies dot product).


I'm not even sure how I would go about trying to solve for $d$. It doesn't seem to make sense to rearrange the equation above to
$$
d = mathrm{inv}(b) ln(X/Y),
$$

since (1) I'm not sure how dot product works with tensors (do I need to learn dyadic algebra to do this???), but I didn't think you could just do $mathrm{inv}(b)(bcdot d)$. And how are you supposed to end up with a $3times 3$ matrix if you're multiplying a $3times 3$ matrix by a $96times 96$ one?



If anyone could please give suggest some resources or give me some direction, I would be sincerely appreciative, and thank you for your time.







matrix-equations tensors matrix-calculus






share|cite|improve this question









New contributor




Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited Nov 15 at 6:11









Daniele Tampieri

1,5211519




1,5211519






New contributor




Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 15 at 5:04









Pendelluft

62




62




New contributor




Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Pendelluft is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Perhaps the notation $(bcdot d)$ is meant to denote the scalar product of the two matrices, i.e. $$bcdot d = sum_{ij} b_{ij}d_{ij}$$
    – greg
    Nov 15 at 17:40




















  • Perhaps the notation $(bcdot d)$ is meant to denote the scalar product of the two matrices, i.e. $$bcdot d = sum_{ij} b_{ij}d_{ij}$$
    – greg
    Nov 15 at 17:40


















Perhaps the notation $(bcdot d)$ is meant to denote the scalar product of the two matrices, i.e. $$bcdot d = sum_{ij} b_{ij}d_{ij}$$
– greg
Nov 15 at 17:40






Perhaps the notation $(bcdot d)$ is meant to denote the scalar product of the two matrices, i.e. $$bcdot d = sum_{ij} b_{ij}d_{ij}$$
– greg
Nov 15 at 17:40

















active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
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',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Pendelluft is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2999245%2ftensor-operations%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Pendelluft is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Pendelluft is a new contributor. Be nice, and check out our Code of Conduct.













Pendelluft is a new contributor. Be nice, and check out our Code of Conduct.












Pendelluft is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2999245%2ftensor-operations%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei