How to denote matrix elements succinctly? [closed]Fortran kind of matrix creationMatrix multiplication that includes a tensorHow to normalize parts of matrix elements?Row-wise matrix multiplicationReplacing elements of a matrixFill a matrix with the elements of a listMatrix operations “Modulus->non-prime” problemHow to list the pairwise matrix products of two lists of matricesDot Product of Block MatricesDefine a Givens rotation (or Jacobi rotation) matrix of size M

Why is my arithmetic with a long long int behaving this way?

Dihedral group D4 composition with custom labels

Krull dimension of the ring of global sections

Can my 2 children, aged 10 and 12, who are US citizens, travel to the USA on expired American passports?

How can Internet speed be 10 times slower without a router than when using the same connection with a router?

Why are the capacitors necessary for a quartz crystal?

Why didn't this character get a funeral at the end of Avengers: Endgame?

Has the Hulk always been able to talk?

Is there a word for food that's gone 'bad', but is still edible?

How can a hefty sand storm happen in a thin atmosphere like Martian?

As a GM, is it bad form to ask for a moment to think when improvising?

Sparring against two opponents test

Is there a proof that the set of real numbers can exactly represent distances?

Piano: quaver triplets in RH v dotted quaver and semiquaver in LH

Madam I m Adam..please don’t get mad..you will no longer be prime

Can full drive backup be used instead of MSSQL database backup?

Sci-fi/fantasy book - ships on steel runners skating across ice sheets

Why are oscilloscope input impedances so low?

Is any special diet an effective treatment of autism?

What do you call a painting on a wall?

What happens if I accidentally leave an app running and click "Install Now" in Software Updater?

How can I get people to remember my character's gender?

Why does sound not move through a wall?

In linear regression why does regularisation penalise the parameter values as well?



How to denote matrix elements succinctly? [closed]


Fortran kind of matrix creationMatrix multiplication that includes a tensorHow to normalize parts of matrix elements?Row-wise matrix multiplicationReplacing elements of a matrixFill a matrix with the elements of a listMatrix operations “Modulus->non-prime” problemHow to list the pairwise matrix products of two lists of matricesDot Product of Block MatricesDefine a Givens rotation (or Jacobi rotation) matrix of size M













3












$begingroup$


Is there a more elegant way of dealing with the following subscripting?



Do[threetest = 
MatrixRank[threepoints[[i]][[2]][[1]] -
threepoints[[i]][[1]][[1]],
threepoints[[i]][[2]][[2]] - threepoints[[i]][[1]][[2]],
threepoints[[i]][[3]][[1]] - threepoints[[i]][[1]][[1]],
threepoints[[i]][[3]][[2]] - threepoints[[i]][[1]][[2]]];
If[threetest < 2, Break[], 1], i, Binomial[n, 3]]









share|improve this question











$endgroup$



closed as off-topic by Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev Apr 27 at 12:25


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev
If this question can be reworded to fit the rules in the help center, please edit the question.















  • $begingroup$
    If the last dimension of threePoints is two, then you might try something like MatrixRank[threepoints[[i, 2 ;; 3]] - threepoints[[i, 1]]].
    $endgroup$
    – WReach
    Apr 26 at 18:29















3












$begingroup$


Is there a more elegant way of dealing with the following subscripting?



Do[threetest = 
MatrixRank[threepoints[[i]][[2]][[1]] -
threepoints[[i]][[1]][[1]],
threepoints[[i]][[2]][[2]] - threepoints[[i]][[1]][[2]],
threepoints[[i]][[3]][[1]] - threepoints[[i]][[1]][[1]],
threepoints[[i]][[3]][[2]] - threepoints[[i]][[1]][[2]]];
If[threetest < 2, Break[], 1], i, Binomial[n, 3]]









share|improve this question











$endgroup$



closed as off-topic by Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev Apr 27 at 12:25


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev
If this question can be reworded to fit the rules in the help center, please edit the question.















  • $begingroup$
    If the last dimension of threePoints is two, then you might try something like MatrixRank[threepoints[[i, 2 ;; 3]] - threepoints[[i, 1]]].
    $endgroup$
    – WReach
    Apr 26 at 18:29













3












3








3





$begingroup$


Is there a more elegant way of dealing with the following subscripting?



Do[threetest = 
MatrixRank[threepoints[[i]][[2]][[1]] -
threepoints[[i]][[1]][[1]],
threepoints[[i]][[2]][[2]] - threepoints[[i]][[1]][[2]],
threepoints[[i]][[3]][[1]] - threepoints[[i]][[1]][[1]],
threepoints[[i]][[3]][[2]] - threepoints[[i]][[1]][[2]]];
If[threetest < 2, Break[], 1], i, Binomial[n, 3]]









share|improve this question











$endgroup$




Is there a more elegant way of dealing with the following subscripting?



Do[threetest = 
MatrixRank[threepoints[[i]][[2]][[1]] -
threepoints[[i]][[1]][[1]],
threepoints[[i]][[2]][[2]] - threepoints[[i]][[1]][[2]],
threepoints[[i]][[3]][[1]] - threepoints[[i]][[1]][[1]],
threepoints[[i]][[3]][[2]] - threepoints[[i]][[1]][[2]]];
If[threetest < 2, Break[], 1], i, Binomial[n, 3]]






matrix notation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 26 at 17:48









user64494

3,65111222




3,65111222










asked Apr 26 at 15:29









user94858user94858

161




161




closed as off-topic by Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev Apr 27 at 12:25


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev
If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev Apr 27 at 12:25


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Roman, Henrik Schumacher, m_goldberg, happy fish, Alex Trounev
If this question can be reworded to fit the rules in the help center, please edit the question.











  • $begingroup$
    If the last dimension of threePoints is two, then you might try something like MatrixRank[threepoints[[i, 2 ;; 3]] - threepoints[[i, 1]]].
    $endgroup$
    – WReach
    Apr 26 at 18:29
















  • $begingroup$
    If the last dimension of threePoints is two, then you might try something like MatrixRank[threepoints[[i, 2 ;; 3]] - threepoints[[i, 1]]].
    $endgroup$
    – WReach
    Apr 26 at 18:29















$begingroup$
If the last dimension of threePoints is two, then you might try something like MatrixRank[threepoints[[i, 2 ;; 3]] - threepoints[[i, 1]]].
$endgroup$
– WReach
Apr 26 at 18:29




$begingroup$
If the last dimension of threePoints is two, then you might try something like MatrixRank[threepoints[[i, 2 ;; 3]] - threepoints[[i, 1]]].
$endgroup$
– WReach
Apr 26 at 18:29










2 Answers
2






active

oldest

votes


















10












$begingroup$

If threepoints is defined with any kind of regularity, then threepoints[[i]][[2]][[1]] is the same as threepoints[[i,2,1]]. See the documentation of Part.



Further, you can do vector processing with ;;, along the lines of



Do[threetest = 
MatrixRank[threepoints[[i, 2, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]],
threepoints[[i, 3, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]]];
If[threetest < 2, Break[], 1],
i, Binomial[n, 3]]


If the third coordinate of threetest has only two slots (that is, if Dimensions[threetest] returns something,something,2), then the above can also be written as



Do[threetest = 
MatrixRank[threepoints[[i, 2]] - threepoints[[i, 1]],
threepoints[[i, 3]] - threepoints[[i, 1]]];
If[threetest < 2, Break[], 1],
i, Binomial[n, 3]]





share|improve this answer











$endgroup$




















    6












    $begingroup$

    The other thing I do is to use the stylized brackets in all of my MMA code. Stackexchange mangles it, so have to use a picture to demonstrate:



    enter image description here



    Big difference in readability.






    share|improve this answer









    $endgroup$












    • $begingroup$
      Also, you can put them in the subscript and they work equally. And if it's still not enough, you can use the invisible comma to separate indices. ;-)
      $endgroup$
      – Veky
      Apr 27 at 3:53










    • $begingroup$
      It’s probably worth adding how to enter these doubled brackets using the keyboard: Esc–[–[–Esc.
      $endgroup$
      – Stephen Powell
      Apr 27 at 9:17

















    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    10












    $begingroup$

    If threepoints is defined with any kind of regularity, then threepoints[[i]][[2]][[1]] is the same as threepoints[[i,2,1]]. See the documentation of Part.



    Further, you can do vector processing with ;;, along the lines of



    Do[threetest = 
    MatrixRank[threepoints[[i, 2, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]],
    threepoints[[i, 3, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]]];
    If[threetest < 2, Break[], 1],
    i, Binomial[n, 3]]


    If the third coordinate of threetest has only two slots (that is, if Dimensions[threetest] returns something,something,2), then the above can also be written as



    Do[threetest = 
    MatrixRank[threepoints[[i, 2]] - threepoints[[i, 1]],
    threepoints[[i, 3]] - threepoints[[i, 1]]];
    If[threetest < 2, Break[], 1],
    i, Binomial[n, 3]]





    share|improve this answer











    $endgroup$

















      10












      $begingroup$

      If threepoints is defined with any kind of regularity, then threepoints[[i]][[2]][[1]] is the same as threepoints[[i,2,1]]. See the documentation of Part.



      Further, you can do vector processing with ;;, along the lines of



      Do[threetest = 
      MatrixRank[threepoints[[i, 2, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]],
      threepoints[[i, 3, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]]];
      If[threetest < 2, Break[], 1],
      i, Binomial[n, 3]]


      If the third coordinate of threetest has only two slots (that is, if Dimensions[threetest] returns something,something,2), then the above can also be written as



      Do[threetest = 
      MatrixRank[threepoints[[i, 2]] - threepoints[[i, 1]],
      threepoints[[i, 3]] - threepoints[[i, 1]]];
      If[threetest < 2, Break[], 1],
      i, Binomial[n, 3]]





      share|improve this answer











      $endgroup$















        10












        10








        10





        $begingroup$

        If threepoints is defined with any kind of regularity, then threepoints[[i]][[2]][[1]] is the same as threepoints[[i,2,1]]. See the documentation of Part.



        Further, you can do vector processing with ;;, along the lines of



        Do[threetest = 
        MatrixRank[threepoints[[i, 2, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]],
        threepoints[[i, 3, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]]];
        If[threetest < 2, Break[], 1],
        i, Binomial[n, 3]]


        If the third coordinate of threetest has only two slots (that is, if Dimensions[threetest] returns something,something,2), then the above can also be written as



        Do[threetest = 
        MatrixRank[threepoints[[i, 2]] - threepoints[[i, 1]],
        threepoints[[i, 3]] - threepoints[[i, 1]]];
        If[threetest < 2, Break[], 1],
        i, Binomial[n, 3]]





        share|improve this answer











        $endgroup$



        If threepoints is defined with any kind of regularity, then threepoints[[i]][[2]][[1]] is the same as threepoints[[i,2,1]]. See the documentation of Part.



        Further, you can do vector processing with ;;, along the lines of



        Do[threetest = 
        MatrixRank[threepoints[[i, 2, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]],
        threepoints[[i, 3, 1 ;; 2]] - threepoints[[i, 1, 1 ;; 2]]];
        If[threetest < 2, Break[], 1],
        i, Binomial[n, 3]]


        If the third coordinate of threetest has only two slots (that is, if Dimensions[threetest] returns something,something,2), then the above can also be written as



        Do[threetest = 
        MatrixRank[threepoints[[i, 2]] - threepoints[[i, 1]],
        threepoints[[i, 3]] - threepoints[[i, 1]]];
        If[threetest < 2, Break[], 1],
        i, Binomial[n, 3]]






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 26 at 18:50

























        answered Apr 26 at 15:33









        RomanRoman

        7,14511134




        7,14511134





















            6












            $begingroup$

            The other thing I do is to use the stylized brackets in all of my MMA code. Stackexchange mangles it, so have to use a picture to demonstrate:



            enter image description here



            Big difference in readability.






            share|improve this answer









            $endgroup$












            • $begingroup$
              Also, you can put them in the subscript and they work equally. And if it's still not enough, you can use the invisible comma to separate indices. ;-)
              $endgroup$
              – Veky
              Apr 27 at 3:53










            • $begingroup$
              It’s probably worth adding how to enter these doubled brackets using the keyboard: Esc–[–[–Esc.
              $endgroup$
              – Stephen Powell
              Apr 27 at 9:17















            6












            $begingroup$

            The other thing I do is to use the stylized brackets in all of my MMA code. Stackexchange mangles it, so have to use a picture to demonstrate:



            enter image description here



            Big difference in readability.






            share|improve this answer









            $endgroup$












            • $begingroup$
              Also, you can put them in the subscript and they work equally. And if it's still not enough, you can use the invisible comma to separate indices. ;-)
              $endgroup$
              – Veky
              Apr 27 at 3:53










            • $begingroup$
              It’s probably worth adding how to enter these doubled brackets using the keyboard: Esc–[–[–Esc.
              $endgroup$
              – Stephen Powell
              Apr 27 at 9:17













            6












            6








            6





            $begingroup$

            The other thing I do is to use the stylized brackets in all of my MMA code. Stackexchange mangles it, so have to use a picture to demonstrate:



            enter image description here



            Big difference in readability.






            share|improve this answer









            $endgroup$



            The other thing I do is to use the stylized brackets in all of my MMA code. Stackexchange mangles it, so have to use a picture to demonstrate:



            enter image description here



            Big difference in readability.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 26 at 18:04









            MikeYMikeY

            3,903916




            3,903916











            • $begingroup$
              Also, you can put them in the subscript and they work equally. And if it's still not enough, you can use the invisible comma to separate indices. ;-)
              $endgroup$
              – Veky
              Apr 27 at 3:53










            • $begingroup$
              It’s probably worth adding how to enter these doubled brackets using the keyboard: Esc–[–[–Esc.
              $endgroup$
              – Stephen Powell
              Apr 27 at 9:17
















            • $begingroup$
              Also, you can put them in the subscript and they work equally. And if it's still not enough, you can use the invisible comma to separate indices. ;-)
              $endgroup$
              – Veky
              Apr 27 at 3:53










            • $begingroup$
              It’s probably worth adding how to enter these doubled brackets using the keyboard: Esc–[–[–Esc.
              $endgroup$
              – Stephen Powell
              Apr 27 at 9:17















            $begingroup$
            Also, you can put them in the subscript and they work equally. And if it's still not enough, you can use the invisible comma to separate indices. ;-)
            $endgroup$
            – Veky
            Apr 27 at 3:53




            $begingroup$
            Also, you can put them in the subscript and they work equally. And if it's still not enough, you can use the invisible comma to separate indices. ;-)
            $endgroup$
            – Veky
            Apr 27 at 3:53












            $begingroup$
            It’s probably worth adding how to enter these doubled brackets using the keyboard: Esc–[–[–Esc.
            $endgroup$
            – Stephen Powell
            Apr 27 at 9:17




            $begingroup$
            It’s probably worth adding how to enter these doubled brackets using the keyboard: Esc–[–[–Esc.
            $endgroup$
            – Stephen Powell
            Apr 27 at 9:17



            Popular posts from this blog

            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020