This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updateParams : function() { | |
$('.class').on('change', function(e) { | |
e.preventDefault(); | |
let url = window.location.pathname; | |
if ( $(this).prop('checked') ) { | |
let query_string = this.buildParamStr('param-name', 'param-value', true); | |
window.history.pushState('old-ai-state', '', url + query_string); | |
} else { | |
let query_string = this.buildParamStr('ai_fwp_filter', null, false); | |
window.history.pushState('old-ai-state', '', url + query_string); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[V, D] = eig(A); | |
[nuDiag,order] = sort(diag(D),'descend'); | |
D = diag(nuDiag); | |
V=V(:,order); |
OlderNewer